Inicia uma interação de vídeo WebRTC em um Chat.
Requisição
Parâmetros Bodyapplication/json
{
"call_id": "1234567890"
}
Códigos de solicitação
curl --location --request POST '/agent/start_video' \
--header 'Content-Type: application/json' \
--data-raw '{
"call_id": "1234567890"
}'
Respostas
application/json {
"response": {
"command": "start_video",
"status": "ok",
"call_id": "1234567890",
"room_id": "UUID-da-sala",
"peer_id_from": "UUID-origem",
"peer_id_to": "UUID-destino",
"url": "https://video.example.com/room/UUID-da-sala"
}
}
Modificado em 2024-08-26 19:16:31