AgoraIO / Basic-Video-Broadcasting

Sample app to join/leave a channel, set the role as a host/audience, mute/unmute, switch between front/rear cameras, and set the video parameters.
MIT License
269 stars 287 forks source link

'web connect timeout' error as soon as 'Connected to gateway server' #129

Open managuli opened 3 years ago

managuli commented 3 years ago

Tested for rtc-sdk version: 3.0.0 and above. Chrome latest version. Agora account type: testing

When I try to join the channel, I get warning: Agora-SDK [WARNING]: handleSendError

Then sdk keeps on reattempting connection until web socket times out.

While the sdk state changes to and fro: {"type":"connection-state-change","prevState":"CONNECTING","curState":"CONNECTED"} and {"type":"connection-state-change","prevState":"DISCONNECTED","curState":"CONNECTING"}

plutoless commented 3 years ago

which network are you using? 4g or wifi? are you using a corporate network?