Connected with a Blank screen/No emulator view
Hi,
I’m trying to use the library to manage and display a gRPC port exposed by an Android emulator, following the steps provided in the /android-emulator-container-scripts repository.
We have successfully deployed Android emulators, with the gRPC port accessible and thoroughly tested using grpcurl. All gRPC calls are functioning correctly (e.g., returning RtcId). Additionally, we have deployed an Envoy server and verified its functionality, as the RtcId is successfully passed to the /android.emulation.control.Rtc/receiveJsepMessages call.
But we could not find the root cause of this error. code 2 is unknown?
Emulator Side:
Lastly, in the emulator logcat, we also see all the ice server configs, SDP messages, answers etc. are being sent. The only missing part that I see is I don't find the log starting with "video:" But we have this
Adding video track: [grpcDisplay-0] Adding audio track: [grpcAudioTrack]
We both tried w/out turn server. With turn: INFO | RtcPacket: id { guid: "6d848b45-8a7a-4c01-9e42-09718a4baf93" } message: "{"start":{"iceServers":[{"credential":"turnpassword","urls":"turn:ourdomain.com","username":"webrtc"}]}}"
What would you recommend for us in this situation? Thank you in advance.
Note here some point when I am working to make the emulator up and work with WebRTC
- TURN server is a must for my case, event with local development. Test the TURN server configure at: https://www.metered.ca/turn-server-testing?ref=metered.ca
- Event if you configured TURN successfully, WebRTC may not showing. For me, I have strange issue that google docker image like us-docker.pkg.dev/android-emulator-268719/images/30-google-x64:30.1.2 doesn't work with WebRTC => build my old image with emu-docker and it works