Summary: | [GTK] UserMediaPermissionRequest does not occur | ||
---|---|---|---|
Product: | WebKit | Reporter: | James Cameron <quozl> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | bugs-noreply, dhitchcock.webkit, mcatanzaro, pnormand, tsaunier, webkit |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | PC | ||
OS: | Linux |
Description
James Cameron
2019-02-18 19:45:33 PST
Hi James, I don't think WebRTC/mediastream is enabled at runtime in Epiphany. Well no surprise, since WebKitGTK releases do not support WebRTC. Is this page using WebRTC? Thanks. I don't know enough about JavaScript ecosystem to answer, but both URLs given do call getUserMedia and the response in console is; TypeError: undefined is not an object (evaluating 'navigator.mediaDevices.getUserMedia') Are there any plans to support this? What's the nature of the non-support? So I can explain to others what is needed. There is a libwebrtc/GStreamer backend implemented in WebKit trunk but it can't be enabled for WebKitGTK releases and used in GPL apps like Epiphany because libwebrtc depends on BoringSSL, licensed under BSD (with advertising clause), which, AFAIK (but IANAL) is considered incompatible with the GPL. (In reply to Philippe Normand from comment #4) > licensed under BSD (with advertising clause) Sort of, OpenSSL license is similar to old BSD licenses and has an advertising clause. Details here: https://boringssl.googlesource.com/boringssl.git/+/3390fd88d716ea599d659c2b72b9a6cd4bb36442/LICENSE. Anyway, that's more or less right. FWIW: I'm going to try Real Soon Now to see if I can do a GDtlsConnection backend for libwebrtc. If it's not too hard, I might even be successful. We need it for Librem 5, so it's become rather urgent. BTW WebKitUserMediaPermissionRequest has been public API since 2.8, so if it really requires WebRTC to work, then it's been broken since added? Do I misunderstand? Well, it's not broken per-se imho, just useless if the mediastream websetting is toggled off at runtime. *** Bug 197871 has been marked as a duplicate of this bug. *** Not much we can do here. You would need to enable MEDIA_STREAM in your build but this is currently not supported in tarballs. We plan to ship a new WebRTC backend based on GstWebRTC but there is no ETA yet. |