Closed Bug 1408302 Opened 7 years ago Closed 7 years ago

[Netflix] Firefox cannot play Netflix vp9-in-MP4 content.

Categories

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

55 Branch
enhancement

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: JamesCheng, Unassigned)

References

Details

Attachments

(3 files, 1 obsolete file)

Netflix provide a video/mp4;codecs=vp09.00.11.08.02 content and we cannot play it. Bug 1407919 handles this kind of codec string but once we can resolve this codec string, we still cannot play it so far. I've tested on Chrome. It can play.
I found bug 1339605 described the similar issue. We could use the attachment to reproduce it locally first.
See Also: → 1339605
The attachment on bug 1339605 can be played by Nightly... so maybe this issue is not related to bug 1339605
See Also: 1339605
After working around the bug1407919, we still can't play the Netflix video content. What I found is Netflix would think they're in the error state and then stop the video playback, but I don't know what the error state exactly is. --- From log, we could see we've receive the init segment, and MediaElement is in the state HAVE_METADATA. Later, Netflix found they got the error when receiving MediaElement's "onencrypted" event, then they would remove the src and abort the exist load. > [Main Thread]: D/nsMediaElement 0x129441000 Load() hasSrcAttrStream=0 hasSrcAttr=0 hasSourceChildren=0 handlingInput=0 I trace their JS code [1], and found some suspicious places, 1. search "removeAttribute("src")", here is the place to start abort exist load 2. search "Missing the PSSH", it's from the event handler "onencrypted" What I guess is that maybe we're missing something important for DRM, so Netflix thinks it's a serious erorr then stop playback. [1] https://assets.nflxext.com/en_us/ffe/player/html/cadmium-playercore-5.0007.639.051.js --- Chris, do you have any idea about that? Thanks!
Flags: needinfo?(cpearce)
Priority: -- → P3
Summary: [Netflix] Firefox could not play netflix content which is vp9 in MP4. → [Netflix] Firefox cannot play Netflix vp9-in-MP4 content.
Attached file Netflix player log (obsolete) —
James told me how to open the Netflix player log, here it is. From log, it's same as my assumption, stop playback in the event handler > 5.845|1|W|MediaElementASE| eme not in cache
From the log, I found some suspicious places. 1. Missing the field of LDL Not sure what it's, but it's called from onencrypted, and maybe we forgot to parse it? > 22.335|0|T|VideoPreparer| cache miss: no data exists for field:ldl 2. Doesn't contain VP9 in the access config Search "22.347|1|T|Eme| CREATE: Request media key system access option" and "22.349|1|T|Eme| CREATE: Key System Access config", the config doesn't contain the vp9. 3. Unable to set the license here might be place to abort the playback. > 22.804|1|E|MediaElementASE| Unable to set the license, code: undefined, subCode: undefined, extCode: undefined, edgeCode: undefined, message: Errors is not defined, errorDetails: undefined, errorData: undefined, state: undefined ---- We should fix bug1407919 first, and then ask Netflix for more details, because it might be a Netflix bug.
Attachment #8918227 - Attachment is obsolete: true
Depends on: 1410022
It's Netflix issue and they have fixed it now.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(cpearce)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: