mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-19 08:28:10 +02:00
fix: limit cloudonix transport to 20 ms packets
This commit is contained in:
parent
133cd54fd4
commit
559c0ca767
2 changed files with 5 additions and 1 deletions
|
|
@ -151,6 +151,7 @@ async def create_cloudonix_transport(
|
|||
else SilenceAudioMixer()
|
||||
),
|
||||
serializer=serializer,
|
||||
audio_out_10ms_chunks=2,
|
||||
),
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -295,7 +295,10 @@ class CustomToolManager:
|
|||
workflow_run = await db_client.get_workflow_run_by_id(
|
||||
self._engine._workflow_run_id
|
||||
)
|
||||
if workflow_run.mode in [WorkflowRunMode.WEBRTC.value, WorkflowRunMode.SMALLWEBRTC.value]:
|
||||
if workflow_run.mode in [
|
||||
WorkflowRunMode.WEBRTC.value,
|
||||
WorkflowRunMode.SMALLWEBRTC.value,
|
||||
]:
|
||||
webrtc_error_result = {
|
||||
"status": "failed",
|
||||
"message": "I'm sorry, but call transfers are not available for web calls. Please try a telephony call.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue