google / google/android-emulator-webrtc

Blank screen even everything seems fine

Open
#47 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
167
Forks
53
PR merge metrics
No merged PRs in 30d

Description

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, which also utilizes android-emulator-webrtc.

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.

Image

But we could not find the root cause of this error. code 2 is unknown?

Image

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.