We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 36590fa + 1fc9e5e commit 0af743cCopy full SHA for 0af743c
src/streaming/utils/CapabilitiesFilter.js
@@ -318,7 +318,7 @@ function CapabilitiesFilter() {
318
}
319
320
function _addGenericAttributesToConfig(rep, config) {
321
- if (rep && rep[DashConstants.CONTENT_PROTECTION] && rep[DashConstants.CONTENT_PROTECTION].length > 0) {
+ if (protectionController && rep && rep[DashConstants.CONTENT_PROTECTION] && rep[DashConstants.CONTENT_PROTECTION].length > 0) {
322
config.keySystemsMetadata = protectionController.getSupportedKeySystemMetadataFromContentProtection(rep[DashConstants.CONTENT_PROTECTION])
323
324
return config
0 commit comments