Skip to content

Commit 5345b31

Browse files
committed
Update KeyMessage.js
1 parent 4d90717 commit 5345b31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/streaming/protection/vo/KeyMessage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2929
* POSSIBILITY OF SUCH DAMAGE.
3030
*/
31-
import ProtectionConstants from '../../constants/ProtectionConstants.js';
31+
import { MEDIA_KEY_MESSAGE_TYPES } from '@svta/common-media-library/drm/common/const/MEDIA_KEY_MESSAGE_TYPES.js';
3232

3333
/**
3434
* @classdesc EME-independent KeyMessage
@@ -48,7 +48,7 @@ class KeyMessage {
4848
this.sessionToken = sessionToken;
4949
this.message = message;
5050
this.defaultURL = defaultURL;
51-
this.messageType = messageType ? messageType : ProtectionConstants.MEDIA_KEY_MESSAGE_TYPES.LICENSE_REQUEST;
51+
this.messageType = messageType ? messageType : MEDIA_KEY_MESSAGE_TYPES.LICENSE_REQUEST;
5252
}
5353
}
5454

0 commit comments

Comments
 (0)