New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 803524 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug

Blocked on:
issue 834965



Sign in to add a comment

EME conformance test #6 fail in Android M (6.0): WidevineH264MultiMediaKeySessions

Project Member Reported by yini...@chromium.org, Jan 18 2018

Issue description

Chrome 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&timestamp=1516299295466
(2) click test #6

What is the expected result?
test pass

What happens instead?
test fail
 
Cc: tdedecko@chromium.org
Owner: yini...@chromium.org
This really depends on the device itself. The number of media key sessions that a device supports is memory dependent. I believe that Android M requirements for media key sessions are something less than 8 but I'm unsure what the specific requirement is. You'll have to check on the specifics of the device you are testing against.
Cc: -xhw...@chromium.org
Owner: xhw...@chromium.org
xhwang@, can you take a look if the Nexus 7 device support multi media key session?
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?
Summary: EME conformance test #6 fail in Android M (6.0): WidevineH264MultiMediaKeySessions (was: EME conformance test #6 fail in Android M (6.0))
Cc: wolenetz@chromium.org
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)

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.
I verified MediaSource.isTypeSupported('audio/mp4; codecs="mp4a.40.2"')
returns true
@#7: Interesting. What does the following report:
document.createElement('audio').canPlayType('audio/mp4; codecs="mp4a.40.2"')
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).
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.
@#10 Thanks!
Status: Started (was: Assigned)
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.
Cc: yucliu@chromium.org
Labels: FoundIn-65 M-68
Labels: -Pri-2 Pri-1
Blockedon: 834965
Status: Fixed (was: Started)
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