Use this method to start call streaming. Wavix Call Media Streaming allows you to stream inbound (to Wavix), outbound (from Wavix), or both channels. Wavix also supports unidirectional streaming when your WebSocket only receives media from the platform, and bi-directional streaming when your WebSocket can send back audio and commands to Wavix.
Note. You can have up to 5 unidirectional streams for a call. Only one bi-directional stream can be created.
An API key to authorize your request
Call ID.
Streaming configuration
WebSocket URL for call streaming
"wss://examples.com/stream"
Specifies the streaming type. Can be either oneway for unidirectional or twoway for bidirectional streaming.
oneway, twoway "twoway"
Specifies which audio channel to stream.
Use inbound to stream the incoming channel (to Wavix), outbound for the outbound channel (from Wavix), or both to stream both.
For bidirectional call streaming, this setting is ignored and the inbound channel is only streamed.
inbound, outbound, both "inbound"