зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1683737 - Report support for cbcs-1-9 encryption scheme. r=alwu
The cbcs-1-9 encryption scheme is a specialized form of the cbcs scheme. Since we already support the general cbcs scheme, we can also report support for cbcs-1-9 for Widevine and Clearkey. Since the functionality this impacts is still behind a pref, this should not have any impact on most users. I plan to add tests for this and some other functionality as needed as part of Bug 1610671 where we'll expose this by removing/toggling the pref. Differential Revision: https://phabricator.services.mozilla.com/D120743
This commit is contained in:
Родитель
a231e1bc6d
Коммит
db40ab9d67
|
@ -254,6 +254,7 @@ static nsTArray<KeySystemConfig> GetSupportedKeySystems() {
|
|||
clearkey.mSessionTypes.AppendElement(MediaKeySessionType::Temporary);
|
||||
clearkey.mEncryptionSchemes.AppendElement(u"cenc"_ns);
|
||||
clearkey.mEncryptionSchemes.AppendElement(u"cbcs"_ns);
|
||||
clearkey.mEncryptionSchemes.AppendElement(u"cbcs-1-9"_ns);
|
||||
if (StaticPrefs::media_clearkey_persistent_license_enabled()) {
|
||||
clearkey.mSessionTypes.AppendElement(
|
||||
MediaKeySessionType::Persistent_license);
|
||||
|
@ -299,6 +300,7 @@ static nsTArray<KeySystemConfig> GetSupportedKeySystems() {
|
|||
widevine.mVideoRobustness.AppendElement(u"SW_SECURE_DECODE"_ns);
|
||||
widevine.mEncryptionSchemes.AppendElement(u"cenc"_ns);
|
||||
widevine.mEncryptionSchemes.AppendElement(u"cbcs"_ns);
|
||||
widevine.mEncryptionSchemes.AppendElement(u"cbcs-1-9"_ns);
|
||||
|
||||
#if defined(MOZ_WIDGET_ANDROID)
|
||||
// MediaDrm.isCryptoSchemeSupported only allows passing
|
||||
|
|
Загрузка…
Ссылка в новой задаче