Skip to content

Commit 4d90717

Browse files
committed
Update KeySystemConfiguration.js
1 parent d9bffc8 commit 4d90717

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/streaming/protection/vo/KeySystemConfiguration.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* POSSIBILITY OF SUCH DAMAGE.
3030
*/
3131

32-
import ProtectionConstants from '../../constants/ProtectionConstants.js';
32+
import { INITIALIZATION_DATA_TYPE } from '@svta/common-media-library/drm/common/const/INITIALIZATION_DATA_TYPE.js';
3333

3434
/**
3535
* @classdesc Represents a set of configurations that describe the capabilities desired for
@@ -53,7 +53,7 @@ class KeySystemConfiguration {
5353
* @class
5454
*/
5555
constructor(audioCapabilities, videoCapabilities, distinctiveIdentifier, persistentState, sessionTypes, initDataTypes) {
56-
this.initDataTypes = initDataTypes && initDataTypes.length > 0 ? initDataTypes : [ProtectionConstants.INITIALIZATION_DATA_TYPE_CENC];
56+
this.initDataTypes = initDataTypes && initDataTypes.length > 0 ? initDataTypes : [INITIALIZATION_DATA_TYPE.CENC];
5757
if (audioCapabilities && audioCapabilities.length) {
5858
this.audioCapabilities = audioCapabilities;
5959
}

0 commit comments

Comments
 (0)