EME conformance test #6 fail in Android M (6.0): WidevineH264MultiMediaKeySessions |
|||||||||
Issue descriptionChrome Version: 65.0.3316.0 OS: Android M EME conformance test #6: WidevineH264MultiMediaKeySessions failed on Android M device. The test is about "Test creating 8 MediaKeySession objects each with 16 keys for playing encrypted with Widevine encryption." The error message says "TestExecutor: 6:WidevineH264MultiMediaKeySessions: Failed with "Test failure: The video playback was aborted due to a corruption problem or because the video used features your browser did not support." Thom, can you confirm this feature is not supported on Android M(6.0)? This test pass on O (8.0). What steps will reproduce the problem? (1) navigate to https://yt-dash-mse-test.commondatastorage.googleapis.com/unit-tests/tip.html?test_type=encryptedmedia-test×tamp=1516299295466 (2) click test #6 What is the expected result? test pass What happens instead? test fail
,
Jan 19 2018
xhwang@, can you take a look if the Nexus 7 device support multi media key session?
,
Apr 9 2018
this bug also repro on Android O (Pixel XL), xhwang@, can you confirm if multimedia key session is supported on Nexus 7 and Pixel XL?
,
Apr 9 2018
,
Apr 9 2018
I tried on Nexus 5x with Android M, and saw an MSE error. +wolenetz for help there.
04-09 15:29:47.498 14678 14678 I chromium: [INFO:CONSOLE(760)] "Uncaught NotSupportedError: Failed to execute 'addSourceBuffer' on 'MediaSource': The type provided ('audio/mp4; codecs="mp4a.40.2"') is unsupported.", source: https://yt-dash-mse-test.commondatastorage.googleapis.com/unit-tests/js/lib/mse/tip/msutil-20180216110138.js (760)
,
Apr 9 2018
xhwang@ - Since you have a repro, can you try with devtools console on that Android device: what does the following report:
MediaSource.isTypeSupported('audio/mp4; codecs="mp4a.40.2"')
(It should report true IIUC).
Also, please make sure that the Chrome build is built with proprietary_codecs, since that's an AAC codec.
,
Apr 10 2018
I verified MediaSource.isTypeSupported('audio/mp4; codecs="mp4a.40.2"')
returns true
,
Apr 10 2018
@#7: Interesting. What does the following report:
document.createElement('audio').canPlayType('audio/mp4; codecs="mp4a.40.2"')
,
Apr 10 2018
With #7 returning true, I highly expect #8 to return "probably" or "maybe".
Please try this, too:
var a = document.createElement('audio'); var ms = new MediaSource(); ms.onsourceopen=function() { ms.addSourceBuffer('audio/mp4; codecs="mp4a.40.2"'); }; a.src=URL.createObjectURL(ms);
If no exception, then there's no repro of unexpected lack of support for that mime+codec type. Confirm with inspection of resulting ms.sourceBuffers attribute (if empty, addition of the sourcebuffer failed and there should have been an exception).
,
Apr 10 2018
Sorry for the wrong signal. I think Matt is right that I simply forgot to enable proprietary_codecs in my local build. Now after I enable it, I don't see the MSE error any more. I'll go ahead to see whether I can repro the bug. But would like to post early here to avoid Matt and Yining wasting more time. Sorry about that.
,
Apr 10 2018
@#10 Thanks!
,
Apr 10 2018
I've seem some errors related to provisioning, which may or may not be related to the actual bug Yining is seeing. I'll investigate further until the bug is fixed.
,
Apr 10 2018
,
Apr 13 2018
,
Apr 19 2018
,
Jun 26 2018
Now issue 834965 has been fixed. Note that this particular test case could still fail due to the fact that the Android device only supports a limited number of MediaDrm instances, and we hit ResourceBusyException [1] when trying to openSession(). [1] https://developer.android.com/reference/android/media/ResourceBusyException |
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by tdedecko@chromium.org
, Jan 18 2018Owner: yini...@chromium.org