File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/streaming/protection/drm Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3131
3232import KeyPair from '../vo/KeyPair.js' ;
3333import ClearKeyKeySet from '../vo/ClearKeyKeySet.js' ;
34- import CommonEncryption from '../CommonEncryption.js' ;
3534import ProtectionConstants from '../../constants/ProtectionConstants.js' ;
3635import FactoryMaker from '../../../core/FactoryMaker.js' ;
36+ import { parseInitDataFromContentProtection } from '@svta/common-media-library/drm/common-encryption/parseInitDataFromContentProtection.js' ;
3737
3838const uuid = ProtectionConstants . W3C_CLEARKEY_UUID ;
3939const systemString = ProtectionConstants . CLEARKEY_KEYSTEM_STRING ;
@@ -77,7 +77,7 @@ function KeySystemW3CClearKey(config) {
7777 }
7878
7979 function getInitData ( cp ) {
80- return CommonEncryption . parseInitDataFromContentProtection ( cp , BASE64 ) ;
80+ return parseInitDataFromContentProtection ( cp , BASE64 ) ;
8181 }
8282
8383 function getRequestHeadersFromMessage ( /*message*/ ) {
You can’t perform that action at this time.
0 commit comments