Setup
To enable realtime video streaming, configure thewebsocket_settings.per_participant_video parameter when creating a bot:
webcam_resolution and screenshare_resolution. Supported values are "360p", "720p", "1080p", and "none" (to disable that source). Both default to "360p".
Websocket Message Format
Your WebSocket server will receive messages in this format.frame field is a base64-encoded JPEG image at the resolution you configured for that source. The source field is either "webcam" or "screenshare". Frames are delivered at 2 FPS for 360p, or 1 FPS for 720p and 1080p.
To resolve a participant_uuid to a full participant object, subscribe to the participant_events.join_leave webhook event which will send the full participant object when they join the meeting.
Participant Selection
Which participants’ video you receive depends on the meeting platform.Zoom
Attendee delivers video from up to 8 participants at a time, prioritized by how recently each participant was the active speaker. Screenshare video is always delivered.Google Meet and Microsoft Teams
On Google Meet and Teams, Attendee captures the video tracks that the meeting client is rendering. Which participants are visible depends on therecording_settings.view parameter you set when creating the bot:
speaker_view(default) — You will receive video for the active speaker only.gallery_view— You will receive video for all participants visible in the gallery.