File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
app/agents/voice/automatic Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -372,9 +372,18 @@ async def run_normal_mode(args):
372372 if proxy_url :
373373 logger .info (f"Configuring Daily WebRTC proxy: { proxy_url } " )
374374 try :
375- # Set proxy URL on the Daily CallClient
376- transport ._client ._client .set_proxy_url (proxy_url )
377- logger .info ("Daily WebRTC proxy configured successfully" )
375+ # Set proxy environment variables - most reliable method
376+ os .environ .update (
377+ {
378+ "HTTP_PROXY" : proxy_url ,
379+ "HTTPS_PROXY" : proxy_url ,
380+ "http_proxy" : proxy_url ,
381+ "https_proxy" : proxy_url ,
382+ }
383+ )
384+ logger .info (
385+ "Daily WebRTC proxy configured successfully via environment variables"
386+ )
378387 except Exception as e :
379388 logger .error (f"Failed to configure Daily WebRTC proxy: { e } " )
380389 # Don't fail initialization - continue without proxy
You can’t perform that action at this time.
0 commit comments