Rank: Advanced Member Groups: Member
Joined: 9/20/2016 Posts: 73
|
Hi! In CefSharp, based on Chromium I can set flags to disable webrtc:
this.webBrowser1.GetBrowser().GetHost().RequestContext.SetPreference("webrtc.multiple_routes_enabled",false,out error); this.webBrowser1.GetBrowser().GetHost().RequestContext.SetPreference("webrtc.ip_handling_policy","disable_non_proxied_udp",out error); It is standart flags, integrated in chromium.
For examaple, to set Proxy: this.webBrowser1.GetBrowser().GetHost().RequestContext.SetPreference("proxy", (object) dictionary, out error);
I've found Proxy preferences in Runtime.DefaultEngineOptions.Proxy, but nothing for WebRTC.
There is no commandline switch with the same functionality and the only way - to set it in preferences. How can I do that in EO Webbrowser?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
I do not believe there is any equivalent of this in the current version. We will look into this and see if we can expose this in a future version.
Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 9/20/2016 Posts: 73
|
Ok. Thank you!
|
Rank: Newbie Groups: Member
Joined: 3/5/2021 Posts: 1
|
Hi,
I am looking for a .net based browser. For me it is important to disable WebRTC. Does Your product allow this?
Thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi, There is no way for you to disable WebRTC directly. However you can deny camera/microphone access by handling this event: https://www.essentialobjects.com/doc/eo.webbrowser.webview.requestpermissions.aspxAnd then call Deny in your event handler to deny the permission. Thanks!
|