startStream
Start a media stream on a conference, sending real-time audio to a WebSocket URL.
Path parameters
AccountSid
The unique identifier for the account that created this conference.
ConferenceSid
The unique identifier for the conference this participant is in.
Request
Url
Absolute 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.
Name
Unique name for the Stream, per Conference. It is used to stop a Stream by name.
Track
This attribute can be one of inbound_track, outbound_track, both_tracks. Default is `both_tracks`.
Allowed values:
StatusCallbackMethod
Whether the request to `StatusCallback` URL is a `GET` or a `POST`. Default is `POST`.
Allowed values:
StatusCallback
The URL to request to when stream is available.
StreamCodec
The audio codec to use for the stream.
Allowed values:
StreamRealTime
Enable real-time streaming for the conference stream.
Parameter1.Name
Custom parameter name to pass towards the WebSocket server. You can pass up to 99 custom parameters using `Parameter1.Name` through `Parameter99.Name`.
Parameter1.Value
Custom parameter value to pass towards the WebSocket server. You can pass up to 99 custom parameters using `Parameter1.Value` through `Parameter99.Value`.
Parameter2.Name
Custom parameter name to pass towards the WebSocket server.
Parameter2.Value
Custom parameter value to pass towards the WebSocket server.
AuthorizationBearerToken
Bearer token for authorization with the WebSocket server.
Response
account_sid
The unique identifier for the account.
conference_sid
The unique identifier for the conference.
date_updated
The date, in RFC 2822 GMT format, this stream was updated.
name
The name of the stream. May be null if not specified when creating the stream.
sid
The unique identifier for the stream.
status
The status of the stream.
Allowed values:
uri
The URI for the stream.
Response Example
Response