androidthings / sample-videoRTC

Apache License 2.0
97 stars 51 forks source link

Can't seem to connect to a room #9

Open sam2tokyo opened 4 years ago

sam2tokyo commented 4 years ago

Running this code in Ubuntu/Android Studio 4.0.

Starting the video call resulted in a room being created with an ID, however it is quickly followed by an error message that video call using WebRTC has stopped.

After several tries, I get a connection error: Room IO error: java.io.IOException: non-200 response when requesting TURN server from https://networktraversal.googleapis.com/v1alpha/iceconfig?key=AlzaSyArJnQRd2kEen3RoVrsQOLxP1TnJJ-y8d8:HTTP/1.1 429 Too many requests.

After a few more tries I get a connection to a room (which I can also join from a web browser), however there is an additional connection error "failed to create a new AudioRecord instance".

The Android emulator is not able to display my connecting webcam (Webcam0) even though it is working fine in the web browser.