Create a Stream
Changed onStarts sending selected audio tracks from an active call to a secure WebSocket endpoint. Use it for live call-audio processing; use Conference Streams for an entire voice conference or Video Room Streams for RTMP video broadcasts.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice.
Learn more about API scopes.
Request
- Base URLhttps://YOUR_SPACE.signalwire.com/api/laml/2010-04-01
- URLhttps://YOUR_SPACE.signalwire.com/api/laml/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Streams
- AuthHTTP basic
Path parameters
Universal Unique Identifier.
The Project ID that uniquely identifies the Account.
Universal Unique Identifier.
The unique identifier for the call.
Request body application/x-www-form-urlencoded
Example request
{
"Name": "my_first_stream",
"Track": "both_tracks",
"StatusCallbackMethod": "GET",
"StatusCallback": "https://your-api-endpoint.com/stream-status",
"Url": "wss://your-application.com/audiostream",
"Parameter1.Name": "FirstName",
"Parameter1.Value": "Jane",
"Parameter2.Name": "LastName",
"Parameter2.Value": "Doe",
"AuthorizationBearerToken": "your-bearer-token"
}Response
The request has succeeded.
Example response
{
"name": "my_first_stream",
"date_updated": "Wed, 19 Sep 2018 21:00:00 +0000",
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Calls/b3877c40-da60-4998-90ad-b792e98472ca/Streams/b3877c40-da60-4998-90ad-b792e98472st.json"
}Changes
- breaking
the
response's property type changed fromstringto no type, and format fromuuidto no format for status - breaking
the
response's property type changed fromstringto no type, and format fromuuidto no format for status - breaking
the
response's property type changed fromstringto no type, and format fromuuidto no format for status - info
added to the
response propertyallOflist for the response status - info
added to the
response propertyallOflist for the response status - info
added to the
response propertyallOflist for the response status
- breaking
- breaking
added 'unevaluatedProperties' constraint to the request body
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- breaking