From 08387ebdef2c6e2d494313a8d011e34b58e58943 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 8 Jul 2026 15:17:16 +0000 Subject: [PATCH 1/2] docs: update SmallWebRTC installation for webrtc-video extra Updates SmallWebRTCTransport documentation to reflect pipecat PR #4978: - Added separate installation commands for audio-only (webrtc) and video (webrtc-video) - Added note explaining the difference between webrtc and webrtc-video extras --- api-reference/server/services/transport/small-webrtc.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api-reference/server/services/transport/small-webrtc.mdx b/api-reference/server/services/transport/small-webrtc.mdx index e542a4f66..7a257ef8a 100644 --- a/api-reference/server/services/transport/small-webrtc.mdx +++ b/api-reference/server/services/transport/small-webrtc.mdx @@ -49,9 +49,17 @@ 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 for video frame format conversion (required when receiving non-RGB video frames from clients). + + ## Prerequisites ### WebRTC Application Setup From 3c3544a5ae8241bd6515c8ef615aae23e50f36b6 Mon Sep 17 00:00:00 2001 From: filipi87 Date: Wed, 8 Jul 2026 16:24:37 -0300 Subject: [PATCH 2/2] Improving the docs to mention the video deprecation. --- api-reference/server/services/transport/small-webrtc.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/api-reference/server/services/transport/small-webrtc.mdx b/api-reference/server/services/transport/small-webrtc.mdx index 7a257ef8a..fa6283666 100644 --- a/api-reference/server/services/transport/small-webrtc.mdx +++ b/api-reference/server/services/transport/small-webrtc.mdx @@ -57,9 +57,13 @@ uv add "pipecat-ai[webrtc-video]" ``` - The `webrtc` extra provides audio and basic video support via `aiortc`. The `webrtc-video` extra adds OpenCV for video frame format conversion (required when receiving non-RGB video frames from clients). + 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