RTCStream
class RTCStream
One media stream a Participant is publishing — their mic, camera, screen share or share audio.
The SDK hands these to ParticipantEventListener.onStreamEnabled and ParticipantEventListener.onStreamDisabled; application code never constructs one. A stream object belongs to the event that delivered it — the next onStreamEnabled for the same participant brings a new instance, so switch on kind rather than holding one by identity.
Types
Link copied to clipboard
Told when a video stream's health changes; see setOnStreamStateChangedListener.
Properties
Link copied to clipboard
Server-assigned stream ID, and the key this stream has in Participant.streams.
Link copied to clipboard
The ID of the participant publishing this stream.