{
"event": "media",
"stream_id": "str-456",
"media": {
"payload": "AAEC/f7..."
}
}{
"event": "mark",
"stream_id": "str-456",
"mark": {
"name": "mark-1"
}
}{
"event": "clear",
"stream_id": "str-456"
}{
"event": "connected",
"event_time": "2024-01-15T10:30:00Z"
}{
"event": "start",
"event_time": "2024-01-15T10:30:00Z",
"call_id": "abc-123",
"stream_id": "str-456",
"stream_type": "twoway",
"channel": "both",
"sequence_number": 1
}{
"event": "media",
"event_time": "2024-01-15T10:30:01Z",
"call_id": "abc-123",
"stream_id": "str-456",
"sequence_number": 2,
"media": {
"payload": "AAEC/f7...",
"track": "inbound",
"timestamp": 160,
"chunk": 1
}
}{
"event": "mark",
"event_time": "2024-01-15T10:30:02Z",
"call_id": "abc-123",
"stream_id": "str-456",
"sequence_number": 10,
"mark": {
"name": "end-of-greeting"
}
}{
"event": "stop",
"event_time": "2024-01-15T10:30:05Z",
"call_id": "abc-123",
"stream_id": "str-456",
"sequence_number": 100
}Bidirectional WebSocket channel for call audio streaming. Wavix opens the connection when a stream starts and closes it when the call ends.
Documentation Index
Fetch the complete documentation index at: https://docs.wavix.com/llms.txt
Use this file to discover all available pages before exploring further.
{
"event": "media",
"stream_id": "str-456",
"media": {
"payload": "AAEC/f7..."
}
}{
"event": "mark",
"stream_id": "str-456",
"mark": {
"name": "mark-1"
}
}{
"event": "clear",
"stream_id": "str-456"
}{
"event": "connected",
"event_time": "2024-01-15T10:30:00Z"
}{
"event": "start",
"event_time": "2024-01-15T10:30:00Z",
"call_id": "abc-123",
"stream_id": "str-456",
"stream_type": "twoway",
"channel": "both",
"sequence_number": 1
}{
"event": "media",
"event_time": "2024-01-15T10:30:01Z",
"call_id": "abc-123",
"stream_id": "str-456",
"sequence_number": 2,
"media": {
"payload": "AAEC/f7...",
"track": "inbound",
"timestamp": 160,
"chunk": 1
}
}{
"event": "mark",
"event_time": "2024-01-15T10:30:02Z",
"call_id": "abc-123",
"stream_id": "str-456",
"sequence_number": 10,
"mark": {
"name": "end-of-greeting"
}
}{
"event": "stop",
"event_time": "2024-01-15T10:30:05Z",
"call_id": "abc-123",
"stream_id": "str-456",
"sequence_number": 100
}Audio chunk to play back into the call.
Marker used to track playback completion.
Clear buffered audio.
Connection established.
Stream started.
Audio chunk captured from the call.
Playback acknowledgment for the preceding media message.
Stream ended.
Was this page helpful?