Streams
Following webhook events are supported for Streams.
stream.initiated
Triggered when a new media stream has been initiated.
Sample Payload
{
"event": "stream.initiated",
"account_id": uuid,
"call_app_id": uuid,
"data": {
"call_id": uuid,
"stream_id": uuid,
"start_time": timestamp,
}
}
stream.completed
Triggered when a stream has been torn down.
Sample Payload
{
"event": "stream.completed",
"account_id": uuid,
"call_app_id": uuid,
"data": {
"call_id": uuid,
"stream_id": uuid,
"end_time": timestamp,
}
}