From 915f0525ca964cb73dbc543f6637279308ff700d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 11 Jun 2026 13:44:30 +0000 Subject: [PATCH] docs: update Vonage transport for captions and per-subscriber audio - Add captions_in_enabled and captions_in_auto_subscribe parameters - Add subscribe_to_captions to SubscribeSettings - Update Key Features to mention captions and individual audio streams - Update manual subscription example to include captions - Corresponds to pipecat PR #4686 --- .../server/services/transport/vonage.mdx | 22 ++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/api-reference/server/services/transport/vonage.mdx b/api-reference/server/services/transport/vonage.mdx index 14b7e087..f2b86dc9 100644 --- a/api-reference/server/services/transport/vonage.mdx +++ b/api-reference/server/services/transport/vonage.mdx @@ -83,8 +83,10 @@ Before using `VonageVideoConnectorTransport`, you need: - **Vonage Video API**: Integrate with Vonage's managed WebRTC infrastructure - **Audio and Video I/O**: Bidirectional audio and video streaming +- **Captions Support**: Real-time caption/transcription streaming from participants +- **Individual Audio Streams**: Per-subscriber audio stream access with separate resampling - **Participant Management**: Stream subscription and participant lifecycle events -- **Auto-subscription**: Optionally auto-subscribe to incoming audio and video streams +- **Auto-subscription**: Optionally auto-subscribe to incoming audio, video, and caption streams - **Interruption Handling**: Automatic media buffer clearing on pipeline interruptions ## Configuration @@ -143,6 +145,15 @@ Inherits all parameters from [TransportParams](/api-reference/server/services/tr participants. + + Whether to enable captions input processing from participant streams. + + + + Whether to automatically subscribe to incoming caption streams from session + participants. + + Whether to subscribe to the stream's audio track. @@ -181,6 +192,10 @@ Used with `subscribe_to_stream()` to control per-stream subscription quality whe Whether to subscribe to the stream's video track. + + Whether to subscribe to the stream's caption track. + + Preferred `(width, height)` resolution for the subscribed video track. The server provides the closest available quality if the exact resolution is @@ -227,7 +242,7 @@ See the [complete example](https://github.com/pipecat-ai/pipecat/blob/main/examp ### Subscribing to streams manually -When `audio_in_auto_subscribe` or `video_in_auto_subscribe` is disabled, subscribe to a specific participant's stream with `subscribe_to_stream()`, passing [SubscribeSettings](#subscribesettings) to control which tracks are received and at what quality. The `streamId` is available from the `on_participant_joined` event data. +When `audio_in_auto_subscribe`, `video_in_auto_subscribe`, or `captions_in_auto_subscribe` is disabled, subscribe to a specific participant's stream with `subscribe_to_stream()`, passing [SubscribeSettings](#subscribesettings) to control which tracks are received and at what quality. The `streamId` is available from the `on_participant_joined` event data. ```python from pipecat.transports.vonage.video_connector import SubscribeSettings @@ -237,6 +252,7 @@ await transport.subscribe_to_stream( params=SubscribeSettings( subscribe_to_audio=True, subscribe_to_video=True, + subscribe_to_captions=True, preferred_resolution=(1280, 720), preferred_framerate=30, ),