Строго последовательно
This commit is contained in:
parent
f36c80a0f9
commit
1318ebfc82
@ -109,6 +109,8 @@ async def handle_channel_transmission(channel, voice_call, websocket, auth_dict,
|
||||
elif state == "faulted":
|
||||
log(f"[{channel}] Promise faulted. Ретрай...")
|
||||
break
|
||||
elif state == "finished":
|
||||
return True
|
||||
|
||||
elif identifier == "call:1/participant_state_broadcast":
|
||||
if payload.get("state") == "own_tx" and "65280" in payload.get("source", ""):
|
||||
@ -123,7 +125,6 @@ async def handle_channel_transmission(channel, voice_call, websocket, auth_dict,
|
||||
ssrc
|
||||
)
|
||||
await send_messages(websocket, get_promise_cancel_command(promise_id))
|
||||
return True
|
||||
|
||||
except asyncio.TimeoutError:
|
||||
log(f"[{channel}] Timeout ожидания. Ретрай...")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user