lalanikarim / webrtc-ai-voice-chat

A WebRTC server that allows you to interact with an LLM using your speech and responds back with generated audio.
Apache License 2.0
91 stars 19 forks source link

Wait for ICE Status change to Complete is not needed #1

Open pushkarp-sharp opened 2 months ago

pushkarp-sharp commented 2 months ago

In client.js, the need for waiting for ICE State Change to Complete is not there. This for me in a lot of cases caused an exorbitant wait and as a result the usecase was impractical (20-40s wait!). Refer the discussion around this over here.

hello2mao commented 1 month ago

+1

ICE gathering complete too loog.