Page 1 of 1

How to disable WebRTC

Posted: Wed Oct 09, 2019 1:21 am
by kojon
Hi.

I want to disable WebRTC. How can I do it in the Human Emulator Studio?

Thanks.

Re: How to disable WebRTC

Posted: Wed Oct 09, 2019 2:19 am
by support
Hello.
You can do it using the program settings. Open the settings dialog using menu Service->Settings. Open tab "Browser" and unset check "Enable Web RTC (need restart)".
After it restart the program.

Or using command $browser->enable_web_socket(false);. When WebSocket is disabled, WebRTC also does not work.

Re: How to disable WebRTC

Posted: Wed Oct 09, 2019 6:39 am
by kojon
What does WebSockets mean?

Re: How to disable WebRTC

Posted: Wed Oct 09, 2019 7:45 am
by support
"WebSocket is a communications protocol for a persistent, bi-directional, full duplex TCP connection from a user's web browser to a server."

You can enable or disable it using command $browser->enable_web_socket(true); or $browser->enable_web_socket(false);