diff --git a/api-reference/server/services/transport/small-webrtc.mdx b/api-reference/server/services/transport/small-webrtc.mdx index e542a4f6..fa628366 100644 --- a/api-reference/server/services/transport/small-webrtc.mdx +++ b/api-reference/server/services/transport/small-webrtc.mdx @@ -49,9 +49,21 @@ description: "A lightweight WebRTC transport for peer-to-peer audio and video co To use SmallWebRTCTransport, install the required dependencies: ```bash +# For audio-only pipelines uv add "pipecat-ai[webrtc]" + +# For pipelines with video support +uv add "pipecat-ai[webrtc-video]" ``` + + The `webrtc` extra provides audio and basic video support via `aiortc`. The `webrtc-video` extra adds OpenCV support for using `SmallWebRTCTransport` with video. + + + + `opencv-python-headless` will be removed from the `webrtc` extra in 2.0.0. Video pipelines using `SmallWebRTCTransport` should start installing the new `webrtc-video` extra (`pipecat-ai[webrtc-video]`) instead. + + ## Prerequisites ### WebRTC Application Setup