playAudio event to transmit audio through the WebSocket. When the bi-directional attribute is set to true, Plivo can deliver the audio transmitted from your application to the party on the call.
Attributes
| event | Indicates the event type. |
| media | An object containing media metadata and payload |
| contentType | The audio codec format. |
| sampleRate |
Allowed values: audio/x-l16: 8000, 16000 <br/> audio/x-mulaw: 8000 |
| payload | Base64-encoded string of raw audio |
Request