Create a Stream.
Create a stream.
Permissions
The API token must include the following scopes: Voice.
Path Parameters |
---|
AccountSid uuid — REQUIREDThe unique identifier for the account that is associated with this stream. |
CallSid uuid — REQUIREDThe unique identifier for the call that is associated with this stream. |
Request Body — REQUIRED |
---|
Name stringUnique name for the Stream, per Call. It is used to stop a Stream by name. |
Track stringPossible values: [ This attribute can be one of inbound_track, outbound_track, both_tracks. Default is |
StatusCallbackMethod stringPossible values: [ Whether the request to |
StatusCallback stringThe URL to request to when stream is available. |
Url stringAbsolute or relative URL. A WebSocket connection to the url will be established and audio will start flowing towards the Websocket server. The only supported protocol is wss. For security reasons ws is NOT supported. |
Parameter1.Name stringCustom parameter name to pass towards the wss server |
Parameter1.Value stringCustom parameter value to pass towards the wss server |
Parameter2.Name stringCustom parameter name to pass towards the wss server |
Parameter2.Value stringCustom parameter value to pass towards the wss server |
Responses | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
200 OK
|