Video
Access the Video API Consumer. You can instantiate a Video.Client to subscribe to Video events.
For the full list of events that a Video.Client can subscribe to, refer to Video Events.
Example
The following example logs whenever a room session is started or when a user joins it.
A RoomSession can be created through the Browser SDK,
through the Create a Room REST API, or
through the SignalWire Dashboard, utilizing a Personal Video Conference (PVC).
When a RoomSession is created, the onRoomStarted event is triggered.
We can then subscribe to the RoomSession events,
such as onMemberJoined and onMemberLeft,
using the listen method.
Classes
The main Video client for subscribing to room events and monitoring video sessions.
Represents an active video room session with methods for managing members, recordings, and playback.
Extended room session object containing the complete state including all members and metadata.
Represents a participant in a video room with properties for audio/video state and metadata.
Represents a playback instance in a video room for playing media content.
Represents a recording instance in a video room with methods to control recording state.
Represents an RTMP stream from a video room for streaming to external platforms.