session.camera.startManagedStream(options?: ManagedStreamOptions): Promise<ManagedStreamResult>
session.camera.stopManagedStream(): Promise<void>
session.camera.onManagedStreamStatus(handler)
StreamType.MANAGED_STREAM_STATUS
enableWebRTC
is true). Use for near real-time viewing with compatible players.status === "active"
is received.error
as non-recoverable for the current attempt. You may retry by calling startManagedStream()
again.session.camera.startStream(options: RtmpStreamOptions): Promise<void>
session.camera.stopStream(): Promise<void>
session.camera.onStreamStatus(handler)
StreamType.RTMP_STREAM_STATUS
session.camera.checkExistingStream()
to detect if any stream is already active for the current user (managed or unmanaged). This is useful for reconnection, avoiding duplicate streams, and coordinating across multiple apps.
Signature:
startManagedStream()
will join the existing managed stream for the user.onManagedStreamStatus
and wait for status === "active"
before sharing or embedding.restreamDestinations
in ManagedStreamOptions
.session.camera.checkExistingStream()
and inspect streamInfo
.enableWebRTC: true
in ManagedStreamOptions
. Use webrtcUrl
from the result/status for playback.