question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Partial offline support

See original GitHub issue

I have had a look into offline support in shaka player 2.1.3 and noticed that it really only applies (currently) in ChromeOS.

I have had a tinker in storage.js and with a custom ManifestParser to get a partial offline scenario working where the content is downloaded but the license check to the remote Uri still occurs.

This would help out people who can pre download the content before traveling to a place with terrible/metered internet (hotels).

Would you accept a PR or discussion for this? I am in the middle of a POC for it, but the main chokepoints of change are:

  • storage.js:301 (where storage initialises the drmengine with a hardcoded isOffline=true parameter)
  • 'storage:425 (same as above)
  • 'drm_engine.js:232` (which is called from the above methods, does some checks against the media keys available)

I think what I want is to tell the storage api that I still want a temporary license (instead of it forcing a persistent-license (which has the flow on effect in drm_engine of checking the persistent-license session type).

Good idea / bad idea?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
joeyparrishcommented, Jun 21, 2017

No, I’m taking care of it real quick. Sorry about that. I should have noticed these things before merging. 😃

0reactions
gscraggcommented, Jun 21, 2017

OK, are you doing that, or do you want me to submit another PR?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fallback Strategy: Partial Offline Backup - Mike.Dietrich
Fallback Strategy: Partial Offline Backup · Step 1 – Take USER DATA tablespaces read-only · Step 2 – Copy / backup the files....
Read more >
Component Is Going To Partially Offline - My Oracle Support
We are facing frequent crash in ABO Bulk Order processing in Production. ... The component should not go offline Partially. ... 2. Every...
Read more >
Offline web applications | Can I use... Support tables for ...
1 Partial support in IE 10 & 11 refers to a number of subfeatures not being supported. Edge does not support IndexedDB inside...
Read more >
Instagram now has partial offline support on Android
The popular image sharing platform now has offline support on Android, but it's understandably very limited. Users will now be able to view...
Read more >
Partial offline reorganization - Database administration - IBM
Partial offline reorganization. If you are reorganizing an HD database, you can reorganize parts of it, rather than the whole database.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found