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
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.