Welcome Guest Search | Active Topics | Sign In | Register

enable-media-stream For using WebRTC Options
Ilya
Posted: Thursday, August 13, 2015 3:09:17 AM
Rank: Newbie
Groups: Member

Joined: 8/13/2015
Posts: 2
Hello I have site with WebRTC. So as it is written in your document: I tried execute " EO.WebBrowser.Runtime.ExtraCommandLineArgs = --enable-media-stream";
But it doesn’t work for me. For example in cefSharp I have achived it by means of following code:
Quote:
var cefSettings = new CefSettings();
cefSettings.CefCommandLineArgs.Add("enable-media-stream", "enable-media-stream");
Cef.Initialize(cefSettings);

Please guide me, How I can achieve correct work with Web RTC with help of EO.WebBrowser?
eo_support
Posted: Thursday, August 13, 2015 10:35:44 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

I believe you need to handle WebView.RequestPermission event:

http://www.essentialobjects.com/doc/eo.webbrowser.webview.requestpermissions.aspx

When the page request a media stream, this event will be raised, Inside the event you would call e.Allow() or e.Deny() to deny camera or microphone access.

Please let us know if you still have any questions.

Thanks!
Ilya
Posted: Friday, August 14, 2015 1:13:06 AM
Rank: Newbie
Groups: Member

Joined: 8/13/2015
Posts: 2

You're absolutely right, our web application has uninformative error messages and I did not immediately guessed do it . Thanks for help.
eo_support
Posted: Friday, August 14, 2015 2:38:47 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
You are very welcome. Please feel free to let us know if there is anything else.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.