Orange-OpenSource / hasplayer.js

Http Adaptive Streaming javascript player based on HTML5 premium extensions (MSE/EME)
Other
197 stars 67 forks source link

License request data #186

Closed mohojojo closed 7 years ago

mohojojo commented 7 years ago

HI all!

Is there any way that i can get back the license request response? There is important data in it which i have to store :/ (or can i call the license request request method manually?)

bbert commented 7 years ago

Hi, There is no way to get license request response from outside the player. You have to modify the source code and then consider sending/dispatching an event when license request response is received. Then you could listen for this event in your application and get reponse content.