Closed Bug 1414463 Opened 7 years ago Closed 6 years ago

Intermittent /tests/dom/media/test/test_eme_sample_groups_playback.html logged result after SimpleTest.finish(): Expected a license-request

Categories

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

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell unknown])

Attachments

(2 files)

Flags: needinfo?(kikuo)
In this test, the 'encrypted' event will be fired after the fragments have been appended.
And samples' keyids are extracted from sgpd (sbgp in traf sgpd in stbl), so each time when MFR is requesting a demuxed sample, the keyid will be filled to sample before the sample is returned to MFR.

There are several odd(for me) points in this test.

1) A second (unnecessary) |LoadEME()| is called after all fragments are appended. [1]
Before Bug 1395922, the 2nd |v.setMediaKey()| [2] will be rejected directly because HTMLMediaElement didn't support switching MediaKeys after load. So the new created mediakeys & sessions are not bound to HTMLMediaElement. Nevertheless, playback could still start correctly because "sbgp" & "sgpd" are still parsed correctly in MoofParser.

2) 'waitingforkey' [3] may be fired not only because of this " Video is waitingforkey, indicating that the samples are not being assigned the correct id from the sgpd box!", but also " Decoding is blocked and waiting for key because the license-response is not updated to CDM yet !"
For me, we SHOULD JUST TEST whether the file can be played correctly or not. It doesn't matter that if there's a 'waitingforkey' event or not.

[1] http://searchfox.org/mozilla-central/rev/5a60492a53667fc61a62af1847d005a210b7a4f6/dom/media/test/test_eme_sample_groups_playback.html#116
[2] http://searchfox.org/mozilla-central/rev/5a60492a53667fc61a62af1847d005a210b7a4f6/dom/media/test/test_eme_sample_groups_playback.html#71
[3] http://searchfox.org/mozilla-central/rev/5a60492a53667fc61a62af1847d005a210b7a4f6/dom/media/test/test_eme_sample_groups_playback.html#53-57

I'd like to refine this test.
JW, does it make sense to you ?
Flags: needinfo?(kikuo) → needinfo?(jwwang)
CDM child send the message back to parent sooooo late.

find "D/EME ChromiumCDMProxy::OnSetSessionId"
(In reply to Kilik Kuo [:kikuo] from comment #2)
> 1) A second (unnecessary) |LoadEME()| is called after all fragments are
> appended. [1]
This seems suspicious to me too.

> 2) 'waitingforkey' [3] may be fired not only because of this " Video is
> waitingforkey, indicating that the samples are not being assigned the
> correct id from the sgpd box!", but also " Decoding is blocked and waiting
> for key because the license-response is not updated to CDM yet !"
Isn't it that we always ensure the keys are updated before starting playback in this test case so condition 2 should not happen?
Depends on: 1415028
Whiteboard: [stockwell needswork]
This issue should disappear after Bug 1415028 is landed.
Let's see if there's still problem after Bug 1395922 is landed too.
Flags: needinfo?(jwwang)
Component: Audio/Video → Audio/Video: Playback
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: