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 3636 * @implements MediaPlayer.dependencies.protection.KeySystem
3737 */
3838
39- import CommonEncryption from '../CommonEncryption.js' ;
4039import ProtectionConstants from '../../constants/ProtectionConstants.js' ;
4140import FactoryMaker from '../../../core/FactoryMaker.js' ;
41+ import { parseInitDataFromContentProtection } from '@svta/common-media-library/drm/common-encryption/parseInitDataFromContentProtection.js' ;
4242
4343const uuid = ProtectionConstants . WIDEVINE_UUID ;
4444const systemString = ProtectionConstants . WIDEVINE_KEYSTEM_STRING ;
@@ -51,7 +51,7 @@ function KeySystemWidevine(config) {
5151 const BASE64 = config . BASE64 ;
5252
5353 function getInitData ( cp ) {
54- return CommonEncryption . parseInitDataFromContentProtection ( cp , BASE64 ) ;
54+ return parseInitDataFromContentProtection ( cp , BASE64 ) ;
5555 }
5656
5757 function getRequestHeadersFromMessage ( /*message*/ ) {
You can’t perform that action at this time.
0 commit comments