Skip to content

Commit a1587fb

Browse files
committed
Update LicenseRequestComplete.js
1 parent dc8f868 commit a1587fb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/streaming/protection/vo/LicenseRequestComplete.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
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+
32+
// imports from common-media-library
33+
import { MEDIA_KEY_MESSAGE_TYPES } from '@svta/common-media-library/drm/common/const/MEDIA_KEY_MESSAGE_TYPES.js';
3234

3335
/**
3436
* @classdesc Event indicating the receipt of a response from a license server
@@ -49,7 +51,7 @@ class LicenseRequestComplete {
4951
constructor(message, sessionToken, messageType) {
5052
this.message = message;
5153
this.sessionToken = sessionToken;
52-
this.messageType = messageType ? messageType : ProtectionConstants.MEDIA_KEY_MESSAGE_TYPES.LICENSE_REQUEST;
54+
this.messageType = messageType ? messageType : MEDIA_KEY_MESSAGE_TYPES.LICENSE_REQUEST;
5355
}
5456
}
5557

0 commit comments

Comments
 (0)