|
Rank: Advanced Member Groups: Member
Joined: 9/3/2014 Posts: 68
|
Hi, I downloaded the latest version of EO.WebBrowser v2016.1.17.0 and tested the TabbedBrowser demo to check it works to see the camera. However, my app does not show the camera. I don't know if I missed any setting to allow to use camera annd microphone in EO.WebBrowser. Here is the link to test: https://www.onlinemictest.com/webcam-testThank you.
|
|
Rank: Advanced Member Groups: Member
Joined: 12/10/2014 Posts: 137
|
HI, You need to listen the "RequestPermissions" event and allow what you want.
Code: C#
private void WebViewEO_OnRequestPermissions(object sender, RequestPermissionEventArgs e)
{
if (e.Permissions == Permissions.Microphone || e.Permissions == Permissions.WebCam)
{
e.Allow();
}
}
|
|
Rank: Advanced Member Groups: Member
Joined: 9/3/2014 Posts: 68
|
Hi Eurice,
The webcam shows up after I set those permissions. Thank you very much!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Eurice wrote:HI, You need to listen the "RequestPermissions" event and allow what you want.
Code: C#
private void WebViewEO_OnRequestPermissions(object sender, RequestPermissionEventArgs e)
{
if (e.Permissions == Permissions.Microphone || e.Permissions == Permissions.WebCam)
{
e.Allow();
}
}
Thanks for helping out. Yes. It is necessary to handle RequestPermissions event in order to use WebCam.
|
|