Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

Conversation

onotole
Copy link
Contributor

@onotole onotole commented Dec 20, 2017

No description provided.

if (SUPPORTED_CODECS.indexOf(fourCCValue.toUpperCase()) === -1) {
// Do not send warning
//this.errHandler.sendWarning(MediaPlayer.dependencies.ErrorHandler.prototype.MEDIA_ERR_CODEC_UNSUPPORTED, "Codec/FourCC not supported", {codec: fourCCValue});
this.errHandler.sendWarning(MediaPlayer.dependencies.ErrorHandler.prototype.MEDIA_ERR_CODEC_UNSUPPORTED, "Codec/FourCC not supported", {codec: fourCCValue});
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This not related with this PR. BTW we should remove this warning. We already put a warning in the console.

xmlReader = (new DOMParser()).parseFromString(wrmHeader, "application/xml");
KID = xmlReader.querySelector("KID").textContent;
var kidNode = xmlReader.querySelector("KID");
if (kidNode) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In which use case you do not have KID in the ProtectionHeader?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants