From cbb0e8c353d09502c16a1db9aa404ac288653940 Mon Sep 17 00:00:00 2001 From: Nikita Gamolsky Date: Sat, 16 Nov 2024 11:14:30 -0800 Subject: [PATCH] add screenVideo subscription for daily transport service --- src/pipecat/transports/services/daily.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pipecat/transports/services/daily.py b/src/pipecat/transports/services/daily.py index 4a8bcfb14..58c311d2e 100644 --- a/src/pipecat/transports/services/daily.py +++ b/src/pipecat/transports/services/daily.py @@ -499,9 +499,11 @@ async def capture_participant_video( video_source: str = "camera", color_format: str = "RGB", ): - # Only enable camera subscription on this participant + # Try to enable camera and screen subscription on this participant await self.update_subscriptions( - participant_settings={participant_id: {"media": {"camera": "subscribed"}}} + participant_settings={ + participant_id: {"media": {"camera": "subscribed", "screenVideo": "subscribed"}} + } ) self._video_renderers[participant_id] = callback