File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/streaming/protection/vo Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 28
28
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
29
* POSSIBILITY OF SUCH DAMAGE.
30
30
*/
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' ;
32
34
33
35
/**
34
36
* @classdesc Event indicating the receipt of a response from a license server
@@ -49,7 +51,7 @@ class LicenseRequestComplete {
49
51
constructor ( message , sessionToken , messageType ) {
50
52
this . message = message ;
51
53
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 ;
53
55
}
54
56
}
55
57
You can’t perform that action at this time.
0 commit comments