Start call streaming
Changed onStarts streaming the audio of the call identified by call_id to the WebSocket destination in stream_url, in the direction (stream_type) and channel (stream_channel) you configure. The streamed audio can include the remote party's voice.
Request
- Base URLhttps://api.wavix.com
- URLhttps://api.wavix.com/v1/calls/{call_id}/streams
- AuthHTTP bearer
Path parameters
The uuid of the call.
Request body
Example request
{
"stream_url": "wss://examples.com/stream"
}Response
Returns the created media stream, including its stream_id.
Example response
{
"success": true,
"stream_id": "123e4567-e89b-12d3-a456-426614174000"
}Changes
- breaking
request property
was restricted to a list of enum values - breaking
request property
was restricted to a list of enum values - breaking
the
request property type changed from no type tostring - breaking
the
request property type changed from no type tostring - warning
removed from the
request propertyallOflist - warning
removed from the
request propertyallOflist - info
added the new
bothenum value to the request property - info
added the new
inboundenum value to the request property - info
added the new
onewayenum value to the request property - info
added the new
outboundenum value to the request property - info
added the new
twowayenum value to the request property
- breaking
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info