This represents the codec used to encode and decode the stream.
This represents the surface type of a screen-share stream — whether the shared source is an entire screen ("monitor"), an application window ("window"), or a browser tab ("browser").
Note
This is available for screen-share streams of both local and remote participants. It will be
undefinedfor audio, video, or any non-screen-share stream, and on browsers that do not support this feature.
This represents the kind of the stream.
This represents the name of a raw track, as given by the sender. null for camera, mic and screen-share streams.
This represents whether the stream is currently paused.
This represents whether the app paused the stream with pause(). A raw track VideoPlayer scrolling back into view never resumes a stream the app paused; only resume() does. Webcam players keep their original behaviour and do resume it. paused is also true while an off-screen player has paused the stream.
This represents the Stream instance.
This represents the underlying media track associated with the stream.
This method sets the quality this viewer receives for a remote video stream. It only affects this viewer.
Triggered when the state of a video or screen-share stream changes.
This event helps track whether the stream is active, stuck, frozen,recovered, or ended.
Note
This event is emitted only for remote participants and applies specifically to video and screen-share streams.
The current state of the stream:
"active" — The stream is functioning normally."stuck" — The stream is no longer progressing as expected."freeze-detected" — A freeze in the video stream has been detected."freeze-resolved" — The previously detected freeze has been resolved."ended" — The stream has ended.Timestamp (in milliseconds since epoch) indicating when the state change occurred.
useStreamprovides reactive access to a participant’s audio, video, and screen-share streams along with stream controls and events.