removeLiveStreamingEndpoints(options)
Paid plans only
Removes one or more RTMP endpoints from an active live stream. Only works on streams started with the endpoints parameter in startLiveStreaming() — not on streams started with rtmpUrl.
The change is applied asynchronously: this method returns once the request is sent. Watch the live-streaming-warning event to learn whether the media server rejected the change; its details.endpoints names the destinations concerned. The REST counterpart is POST /rooms/:name/live-streaming/remove-endpoints.
Parameters
DailyStreamingEndpoint[]
required
Array of endpoints to remove. Each entry must include the
endpoint URL.string
Optional. The live streaming instance to target when multiple streams are active.
Return value
void