Hi. We have a WinForm that implements the EO.WebBrowser that after opening, the browser navigate to a web application that has a real-time video chat feature (utilizing WebRTC). We noticed that in some cases (notebooks specifically), after 3-4 retries (closing WinForm and re-opening), the web application its able to connect and use peripherals (camera & mic) successfully, and others cases its unable (throwing a DOMException with: 'Could not start video source'). However, if we copy the URL and paste it (instead using EO.WebBrowser) to a Chrome browser, the application runs successfully and always connect to the camera and mic at first time.
**As note; before closing the WinForm, we have code to dispose all objects (webview & webcontrol) and manage the EventHandler for RequestPermissions (e.Allow()) as well.
Code: C#
void DisposeWebView()
{
this.webView1.Close(true);
this.webView1.Destroy();
this.webView1.Dispose();
this.webControl1.WebView.Close(true);
this.webControl1.WebView.Destroy();
this.webControl1.WebView.Dispose();
this.webControl1.Dispose();
this.Dispose();
}
Code: C#
private void webView1_RequestPermissions(object sender, RequestPermissionEventArgs e)
{
e.Allow();
}
In summary, the EO.WebBrowser does not guarantees us that will be accurate in all machines at all time.
Do you have some idea what its happening?
Some issue with the current WebBrowser Chromium version (v77)?
Machines: MS Surface, HP Pavilion x360 Convertible 15-cr0xxx
EO.WebBrowser & EO.WebBrowser.WinForm versions: 20.0.81