The Virtual Device display doesn't show in web browser with Genymotion Device image (PaaS)

This article is used by IT administrators and developers using Genymotion Device image (PaaS) to troubleshoot WebRTC-based display forwarding.

Audience

This article is used by IT administrators and developers using Genymotion Device image (PaaS) to troubleshoot WebRTC-based display forwarding.

Overview

Genymotion Device image (PaaS) is a cloud-based solution that provides virtual Android devices.

WebRTC stands for Web Real-Time Communication.

WebRTC is a technology that enables real-time audio, video, and data exchange in web browsers.

If the browser display does not appear, WebRTC may be blocked.

WebRTC can be blocked by add-ons, extensions, or blockers in the web browser.

Chrome compatibility

Genymotion v9.0.0 and lower images are no longer compatible with Google Chrome since version 89.

Make sure your instances use Genymotion version 10.0.0 or higher.

Add-ons and extensions

If you use add-ons, extensions, or blockers with your web browser, make sure that they do not block WebRTC.

Firewall and security

Configure cloud provider security groups or firewalls to allow WebRTC traffic and HTTPS.

https IN TCP 443
webrtc IN TCP 51000-51100
webrtc IN UDP 51000-51100

Open the same ports in the local firewall.

https IN TCP 443
webrtc IN TCP 51000-51100
webrtc IN UDP 51000-51100

If you are accessing from a company network, ensure the company infrastructure has opened the HTTPS port.

https OUT TCP 443

If the company uses a proxy, you also need to allow HTTP CONNECT on any ports. If the proxy is a SOCKv5 proxy, allow UDP ASSOCIATE.

If the company network uses NAT, you will either need to whitelist TURN/STUN IPs or use your own TURN server. For more details, please refer to Genymotion Device image (PaaS) User guide: Access an instance from an Enterprise network (NAT).

Restart the instance.

Public IP This note no longer applies since Genymotion Device Image ver. 13.0.0.

Android 8.0 and above need to have access to the Internet to reach our TURN/STUN server or webRTC communication will be broken. This requires a public IP, but if this goes against your security requirements, you have to use your own TURN/STUN server. For more details, please refer to Genymotion Device image (PaaS) users' guide: Access an instance from an Enterprise network (NAT).

If you are using AWS, you can refer to our tutorial: How to create and setup a STUN/TURN server on AWS?