File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/streaming/protection/drm Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 3535 * @class
3636 * @implements KeySystem
3737 */
38- import CommonEncryption from '../CommonEncryption.js' ;
3938import ProtectionConstants from '../../constants/ProtectionConstants.js' ;
4039import FactoryMaker from '../../../core/FactoryMaker.js' ;
41-
40+ import { parseInitDataFromContentProtection } from '@svta/common-media-library/drm/common-encryption/parseInitDataFromContentProtection.js' ;
4241const uuid = ProtectionConstants . PLAYREADY_UUID ;
4342const systemString = ProtectionConstants . PLAYREADY_KEYSTEM_STRING ;
4443const schemeIdURI = 'urn:uuid:' + uuid ;
@@ -199,7 +198,7 @@ function KeySystemPlayReady(config) {
199198 }
200199 // Handle common encryption PSSH
201200 if ( 'pssh' in cpData && cpData . pssh ) {
202- return CommonEncryption . parseInitDataFromContentProtection ( cpData , BASE64 ) ;
201+ return parseInitDataFromContentProtection ( cpData , BASE64 ) ;
203202 }
204203 // Handle native MS PlayReady ContentProtection elements
205204 if ( 'pro' in cpData && cpData . pro ) {
You can’t perform that action at this time.
0 commit comments