stopLiveStreaming()

Compatibility:
Prebuilt
Custom

stopLiveStreaming({instanceId})

Stops a live stream. Note that the participant who initiates this must be an owner or a streaming admin (someone with the 'streaming' value in their canAdmin permission).

If multiple RTMP endpoints are being live streamed, calling stopLiveStreaming() will stop all live streams.

If multiple streaming instances are running, each instance must be stopped individually by a call to stopLiveStreaming() with the instance's unique instanceId.

To remove multiple endpoints without completely ending live streaming for a call, use removeLiveStreamingEndpoints().