"avc1.640814" and other codecs rejected for MediaKeySystemAccess in Chrome 49
Reported by
sanbo...@rogers.com,
Jun 15 2016
|
|
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36
Example URL:
Steps to reproduce the problem:
1. Run this:
config = {videoCapabilities: [{ contentType: 'video/mp4; codecs="avc1.640815"' }, { contentType: 'video/mp4; codecs="avc1.64081E"' }, { contentType: 'video/mp4; codecs="avc1.64081F"' }, { contentType: 'video/mp4; codecs="avc1.640820"' }, { contentType: 'video/mp4; codecs="avc1.640829"' } ]};
navigator.requestMediaKeySystemAccess('com.widevine.alpha', [config]).then(
function() { console.log('okay'); },
function(e) { console.log('fail', e); }
);
What is the expected behavior?
Should support these formats.
What went wrong?
Receive error with: None of the requested configurations were supported.
Did this work before? N/A
Is it a problem with Flash or HTML5? HTML5
Does this work in other browsers? Yes
Chrome version: 49.0.2623.756 Channel: stable
OS Version: OS X 10.11.4
Flash Version: Shockwave Flash 21.0 r0
MediaSource.isTypeSupported('video/mp4; codecs="avc1.640814"') returns true so I would expect that we should be able to play this content.
This has been fixed in subsequent Chrome versions but 49 is the last available version on OSX 10.7 so this problem persists in that environment.
More discussion can be found on the Shaka issues page: https://github.com/google/shaka-player/issues/392
|
|
►
Sign in to add a comment |
|
Comment 1 by spqc...@chromium.org
, Jun 21 2016