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.
1 parent 69ed81d commit 1fc9e5eCopy full SHA for 1fc9e5e
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