Video
The Video namespace contains the classes and functions that you need to create a video conferencing application.
The RoomSession class is the main interface for managing video room sessions.
Classes
RoomSessionDevice
Control devices within a room session
RoomSessionPlayback
Manage media playback in a room session
RoomSessionRecording
Handle recording functionality
RoomSessionScreenShare
Manage screen sharing in a room session
RoomDevice
Use RoomSessionDevice instead.
RoomScreenShare
Use RoomSessionScreenShare instead.
Functions
Functions
Functions
createRoomObject
ConstcreateRoomObject(roomOptions):Promise<Room>
Deprecated
Use RoomSession instead.
Using Video.createRoomObject() you can create a RoomObject to join a room.
Parameters
Returns
Promise<Room>
Example
With an HTMLDivElement with id=“root” in the DOM.
joinRoom
ConstjoinRoom(roomOptions):Promise<Room>
Deprecated
Use RoomSession instead.
Using Video.joinRoom() you can automatically join a room.
Parameters
Returns
Promise<Room>
Example
With an HTMLDivElement with id=“root” in the DOM.