Closed Bug 1332951 Opened 9 years ago Closed 9 years ago

[EME] On Linux MediaKeySystemAccess should check whether sandboxing works before advertising keySystems

Categories

(Core :: Audio/Video: Playback, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
platform-rel --- +
firefox54 --- fixed

People

(Reporter: cpearce, Unassigned)

References

Details

(Whiteboard: [platform-rel-Hulu])

Attachments

(1 file)

On Linux we only load GMPs if sandboxing is working; i.e. if seccomp-bpf is present. However, navigator.requestMediaKeySystemAccess doesn't actually check this before advertising that Widevine/ClearKey is available. So this means on Linux, we could end up reporting that we can use EME, but it actually won't work. We should check whether SandboxInfo::Get().CanSandboxMedia() is true before assuming Widevine/ClearKey will work.
platform-rel: --- → ?
Whiteboard: [platform-rel-Hulu]
Comment on attachment 8829279 [details] Bug 1332951 - On Linux check whether Widevine CDM can be sandboxed before advertising we support it. https://reviewboard.mozilla.org/r/106394/#review107628
Attachment #8829279 - Flags: review?(jld) → review+
platform-rel: ? → +
Pushed by cpearce@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/86e41df6b615 On Linux check whether Widevine CDM can be sandboxed before advertising we support it. r=jld
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: