Skip to content

Commit 0af743c

Browse files
committed
Merge remote-tracking branch 'origin/development' into feature/l3d-deep-integration
2 parents 36590fa + 1fc9e5e commit 0af743c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/streaming/utils/CapabilitiesFilter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ function CapabilitiesFilter() {
318318
}
319319

320320
function _addGenericAttributesToConfig(rep, config) {
321-
if (rep && rep[DashConstants.CONTENT_PROTECTION] && rep[DashConstants.CONTENT_PROTECTION].length > 0) {
321+
if (protectionController && rep && rep[DashConstants.CONTENT_PROTECTION] && rep[DashConstants.CONTENT_PROTECTION].length > 0) {
322322
config.keySystemsMetadata = protectionController.getSupportedKeySystemMetadataFromContentProtection(rep[DashConstants.CONTENT_PROTECTION])
323323
}
324324
return config

0 commit comments

Comments
 (0)