[Webkit-unassigned] [Bug 180005] [GTK][WPE] Add "enable-encryptedmedia" property to WebKitWebSettings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 24 10:09:02 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=180005

--- Comment #5 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
(In reply to Olivier Blin from comment #2)
> (In reply to Michael Catanzaro from comment #1)
> > I don't think we should do this unless ENABLE_ENCRYPTED_MEDIA is enabled by
> > default at build time, because we don't want to expose runtime settings in
> > our API that don't actually work. That would be very confusing.
> > 
> > And I believe the EME developers have no plans to turn on
> > ENABLE_ENCRYPTED_MEDIA by default.
> > 
> > Is there a scenario in which you are using a custom build of WebKit yet need
> > to be able to disable this feature at runtime?
> 
> ENABLE_ENCRYPTED_MEDIA is enabled by default in a developer build.

This changed by accident a few days ago ( see bug 180004 )

> But it is not enabled at runtime by default, since EncryptedMediaAPIEnabled
> is set to false in WebPreferences.yaml.
> AFAIK, it is only enabled by WebKitTestRunner/InjectedBundle using the C API.
> 
> So there is currently no way to actually use EME with a developer build of
> WPE or GTK.

So this is a case like the one we have MediaStream/WebRTC.

We ship a run-time property that only can be used if a non-default build option is enabled https://webkitgtk.org/reference/webkit2gtk/stable/WebKitSettings.html#webkit-settings-set-enable-media-stream

Now that we have renamed the concept of "developer build" to "experimental features", I think is a good compromise to document on all this run-time settings that the feature is still experimental (e.g. not finished, under development) and that it needs to be enabled also at build time to be used.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171124/3e5ee98e/attachment.html>


More information about the webkit-unassigned mailing list