File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/streaming/protection/drm Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 3636 * @implements MediaPlayer.dependencies.protection.KeySystem
3737 */
3838
39- import ProtectionConstants from '../../constants/ProtectionConstants.js' ;
4039import FactoryMaker from '../../../core/FactoryMaker.js' ;
4140import { parseInitDataFromContentProtection } from '@svta/common-media-library/drm/common-encryption/parseInitDataFromContentProtection.js' ;
4241
43- const uuid = ProtectionConstants . WIDEVINE_UUID ;
44- const systemString = ProtectionConstants . WIDEVINE_KEYSTEM_STRING ;
42+ // imports from common-media-library
43+ import { WIDEVINE_UUID } from '@svta/common-media-library/drm/common/const/WIDEVINE_UUID.js' ;
44+ import { WIDEVINE_KEY_SYSTEM } from '@svta/common-media-library/drm/common/const/WIDEVINE_KEY_SYSTEM.js' ;
45+
46+ const uuid = WIDEVINE_UUID ;
47+ const systemString = WIDEVINE_KEY_SYSTEM ;
4548const schemeIdURI = 'urn:uuid:' + uuid ;
4649
4750function KeySystemWidevine ( config ) {
You can’t perform that action at this time.
0 commit comments