RemoteVideoStreamCommon interface

Represents a remote participant's video or screen-sharing or live stream.

Properties

id

Id of the remote stream.

isReceiving

Whether video packets are being received. This flag can become false in cases such as remote video freezes, low network bandwidth, etc. It is recommended to display a loading spinner over the video, if isReceiving is false and isAvailable is true.

mediaStreamType

Get this remote media stream type.

size

The stream size. The higher the stream size, the better the video quality.

Property Details

id

Id of the remote stream.

id: number

Property Value

number

isReceiving

Whether video packets are being received. This flag can become false in cases such as remote video freezes, low network bandwidth, etc. It is recommended to display a loading spinner over the video, if isReceiving is false and isAvailable is true.

isReceiving: boolean

Property Value

boolean

mediaStreamType

Get this remote media stream type.

mediaStreamType: MediaStreamType

Property Value

size

The stream size. The higher the stream size, the better the video quality.

size: StreamSize

Property Value