Open
Bug 1990159
Opened 16 days ago
Updated 2 days ago
MediaCapabilities.decodingInfo() returns wrong persistentState value
Categories
(Core :: Audio/Video, defect, P2)
Tracking
()
NEW
People
(Reporter: tykus160, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:143.0) Gecko/20100101 Firefox/143.0
Steps to reproduce:
Compare results of 2 MediaKeySystemAccess request functions:
rMKSA:
let mksa = await navigator.requestMediaKeySystemAccess('com.widevine.alpha', [{
persistentState: 'required',
videoCapabilities: [{
contentType: 'video/mp4; codecs="avc1.42e01e"',
}],
}]);
console.log(mksa.getConfiguration().persistentState);
MCap:
let info = await navigator.mediaCapabilities.decodingInfo({
type: 'media-source',
video: {
width: 1280,
height: 720,
framerate: 30,
bitrate: 10000,
contentType: 'video/mp4; codecs="avc1.42e01e"'
},
keySystemConfiguration: {
keySystem: 'com.widevine.alpha',
persistentState: 'required',
},
});
console.log(info.keySystemAccess.getConfiguration().persistentState);
Actual results:
rMKSA will properly return MKSA with persistentState: required
.
MCap will return MKSA with peristentState: 'not-allowed'.
Expected results:
Results of those APIs should be consistent.
Updated•16 days ago
|
Component: Untriaged → Audio/Video
Product: Firefox → Core
Updated•15 days ago
|
Blocks: media-capabilities, EME
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
You need to log in
before you can comment on or make changes to this bug.
Description
•