This commit is contained in:
zakhy 2025-04-17 14:45:09 +07:00
parent 13fe370d68
commit b82368a3e1

View File

@ -114,6 +114,7 @@ async def receive_messages(websocket, auth_dict):
print(
"Запрос на отправку аудио. Инициализация трансляции трансляцию..."
)
await set_voice_call_sent(voice_call)
await send_messages(
websocket,
get_transmit_command(promise_id, ssrc,
@ -130,7 +131,6 @@ async def receive_messages(websocket, auth_dict):
get_promise_cancel_command(promise_id))
promise_id += 1
print("Трансляция завершена и вызов остановлен.")
await set_voice_call_sent(voice_call)
except Exception:
logging.error(traceback.format_exc())