Skip to main content

Stop

Definition

The Stop verb is used to stop a unidirectional media Stream. The name of the Stream is used when starting and stopping the Stream.

tip

See Stream for full details on streaming call audio via WebSockets.

Stop has no attributes.

Example

In this example, the Stop verb is used to stop a previously started Stream. The name of the Stream is used to identify which stream to stop.

<Response>
<Start>
<Stream name="myStream" url="wss://example.com"/>
</Start>
...
<Stop>
<Stream name="myStream"/>
</Stop>
</Response>

Nesting Rules

  • You can nest Stream within Stop.
  • You cannot nest the Stop verb within other FlexML verbs.