stop Live Stream
fun stopLiveStream(streamId: StreamId? = null, listener: RequestListener? = null)
Content copied to clipboard
Stops a live stream.
If only one live stream is in progress, the streamId
parameter may be omitted. All endpoints associated with the stream will be stopped.
Note: the participant who initiates this must be an owner. In other words, they must have joined the call using a meeting token which has is_owner
set to true.
The optional callback (listener
) will be invoked either when the operation has completed, or if it encounters an error.
Errors will also be provided to the CallClientListener.onError callback.