Skip to main content

Stop Stream

The StopStream verb is used to stop a stream that was started with a previous <StartStream> verb.

If there is no stream with the given name on the call, this verb has no effect.

Text Content

There is no text content available to be set for the <StopStream> verb.

Attributes

AttributeDescription
name(required) The name of the stream to stop. This is either the user selected name when sending the <StartStream> verb, or the system generated name returned in the Media Stream Started webhook if <StartStream> was sent with no name attribute.
wait(optional) If set to true, the verb will wait for the WebSocket set in the <StartStream> destination attribute to stop before continuing. This is useful if you need to ensure that the WebSocket has stopped before taking further action. Default is false.

Webhooks Received

WebhooksCan reply with more BXML
Media Stream StoppedNo

Examples

Stopping a media stream

<?xml version="1.0" encoding="UTF-8"?>
<Response>
<StopStream name="live_audience"/>
</Response>