new MediaStream([stream.track]).toURL().state carries {state, timestamp} and is what useRTCStream's onStreamStateChanged surfaces.The event to subscribe to.
Called when the event fires.
Pauses this incoming stream, so the SDK stops consuming it while the participant keeps producing it.
Receive-side only. The native SDKs reject a local stream with VideoSDKError.ERROR_ACTION_NOT_SUPPORTED and an already-paused one with VideoSDKError.ERROR_STREAM_ALREADY_PAUSED.
Resumes a paused incoming stream.
Receive-side only, with the same restrictions as pause.
RTCStreamis one media stream a participant is producing — their camera, microphone, screen share or screen-share audio.Streams arrive through useParticipant's
webcamStream/micStream/screenShareStream/screenShareAudioStream, and through itsonStreamEnabledandonStreamDisabledevents. useRTCStream wraps one by id and exposes the samepause/resumepair.