Represents a video track in room.
trackId: string |
---|
Id of the video track. |
publisher: StringeeRoomUser |
---|
The user who publish this video track. |
audioEnable: boolean |
---|
Checks whether the video track has audio. |
videoEnable: boolean |
---|
Checks whether the video track has video. |
isScreenCapture: boolean |
---|
Checks whether the video track is screen capture. |
isLocal: boolean |
---|
Checks whether the video track is local track. |
mute(mute: boolean, callback: (status, code, message)) |
---|
Toggle audio on or off. |
enableVideo(enable: boolean, callback: (status, code, message)) |
Enables or disables the video stream. |
switchCamera(callback: (status, code, message)) |
Switches the device's camera. By default, Stringee SDK uses the front camera. |
close(callback: (status, code, message)) |
Release video track. |