Persistent license w/ streaming content
A partner asked me if we had any way to support persistent licenses with streaming content. At the moment, we do not.
We would have to persist the session ID somehow, even though the app wouldn't be using offline storage. I'm not sure if this would require a new API, or use of the Storage API, or something else.
The use-case was described as a live sporting event. The app developer would like to avoid all users requesting a license when the event starts, which would cause a huge spike of traffic on the license server. If they could pre-license the user before the event starts, the could spread that traffic out.
This may also relate to our proposed preload API (#880). It's not clear if preload would solve the same problem without the need for a persistent license, but it may.
I think that the use case is related to my comments in https://github.com/google/shaka-player/issues/1833
@nibredy, FYI
@deisenbacher01, FYI
Hi @joeyparrish, Has there been any update on this front?
We have a use case where we are serving certain cost sensitive customers who want the features of DRM based encryption, but the license request costs are not affordable to them. Persisting the licenses therefore reduces the cost significantly.
Any help is appreciated.
Thanks
No, we have not worked on this. We would be happy to discuss a design and review a PR if anyone wants to contribute to this. The shortest path probably involves modifying the Storage API and persisting session IDs in IndexedDB, without storing the content itself. But the team at Google do not currently have time to work on this.
@joeyparrish is it possible to prioritize #4461
I think that can be close it with https://github.com/shaka-project/shaka-player/commit/cc97da167f4b08b98613a3296b4879f0948b79b7 , @joeyparrish what do you think?
Closing due to inactivity. If this is still an issue for you or if you have further questions, the OP can ask shaka-bot to reopen it by including @shaka-bot reopen in a comment.