Loal camera stream UUID
Local microphone stream UUID
Local screen stream UUID
Local screen share token
Screen share tokens key: Stream UUID value: RTC token
Streams in the room key: Stream UUID value: Stream object
Stream UUID set indexed by User UUID key: User UUID value: Set of stream UUID
Volume list indexed by stream UUID key: Stream UUID value: volume value, range by: 0 ~ 1
Destroys the screen stream
Room object
Initializes the screen stream
Room object
Stream UUID
RTC Token
Subscribes/Unsubscribes the remote audio stream
Stream object
Whether to subscribe
The room object in which the stream resides, if not passed, defaults to the current room
Subscribes/Unsubscribes the remote video stream
Stream object
Whether to subscribe
The room object in which the stream resides, if not passed, defaults to the current room
Subscribes a batch of streams
Set of stream object
Whether to subscribe
The room object in which the stream resides, if not passed, defaults to the current room
Creates a screen share stream for the local user, returns the stream id and the token of the created stream. This method only allows creating one screen share stream in the room, if multiple streams are needed, please use publishScreenShareStateless
The room object in which the stream resides, if not passed, defaults to the current room
Options for publishing stream
Creates a screen share stream for the local user, returns the stream id and the token of the created stream. This method allows creating multiple screen share streams in the room
The room object in which the stream resides, if not passed, defaults to the current room
Bypass push, pushs the currently published stream to CDN
The room object in which the stream resides, if not passed, defaults to the current room
Sets the delay level (only available if the current user has no audio and video streams published)
Level of streaming delay
The room object in which the stream resides, if not passed, defaults to the current room
Sets the remote video stream quality type
The UUID of the stream to be set
The stream type to set
The room object in which the stream resides, if not passed, defaults to the current room
Renders the remote video
Stream object
DOM node
Whether to apply mirror
Mode of rendering video
The room object in which the stream resides, if not passed, defaults to the current room
Removes the screen share stream that is created for the local user before
The room object in which the stream resides, if not passed, defaults to the current room
Removes the screen share stream that is created for the local user before
The room object in which the stream resides, if not passed, defaults to the current room
Updates the status and users of the video gallery
1 open 0 close
userUuids users who publish streams
Updates the local audio ad video publishing states
The audio ad video publishing state
The room object in which the stream resides, if not passed, defaults to the current room
Updates the remote audio ad video publishing states
The user ID
The stream ID
The audio ad video publishing state
The room object in which the stream resides, if not passed, defaults to the current room
Batch updates the remote audio ad video publishing states
list of stream
The
StreamStore
class is used for managing media streams.