removeLiveStreamingEndpoints()
removeLiveStreamingEndpoints()
Compatibility:
Prebuilt
Custom
removeLiveStreamingEndpoints({ endpoints: Array })
Removes specified RTMP endpoints from a call with an existing live stream.
This method should not be used to remove all current streams. (See stopLiveStreaming()
to remove all streams.)
Using this method to remove all streams will fail and trigger a 'nonfatal-error'
with the error type 'live-streaming-warning'
.
This method cannot be used to remove an RTMP URL from an existing stream after using the endpoints
parameter in a call to startLiveStreaming()
.