cefsharp / CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
http://cefsharp.github.io/
Other
9.83k stars 2.92k forks source link

CefCustomScheme with SchemeName other than https:// causes audio played twice #4327

Closed simonbuehler closed 1 year ago

simonbuehler commented 1 year ago

BUT when changing the SchemeName = "https" the sound just plays once as it should.

One "MEEP" is enough ;)

amaitland commented 1 year ago

This is not something that can be fixed directly in CefSharp. The problem would need to be fixed in CEF which has it's own issue tracker at https://bitbucket.org/chromiumembedded/cef/issues?status=new&status=open

As it works with http(s) in my experience it's unlikely that this would be fixed by the CEF maintainers, you are of course welcome to debug this yourself.

Using the https/http scheme and specifying a domain name is the preferable to using a custom scheme name. Custom schemes do behave differently as you've found out.

Closing as upstream.

simonbuehler commented 1 year ago

Fair enough, maybe the docs should note that

amaitland commented 1 year ago

Sounds reasonable, contributions welcome.

Anyone with a GitHub account can edit the wiki.