Фикса баги

This commit is contained in:
zakhy 2025-04-17 14:35:34 +07:00
parent 0a32ed7a10
commit 13fe370d68

View File

@ -114,7 +114,6 @@ 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,
@ -131,6 +130,7 @@ 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())