Skip to content

SHAKA and Offline Events #937

Closed
Closed
@boredom2

Description

@boredom2

Have you read the FAQ and checked for duplicate issues:

yes

What version of Shaka Player are you using:

2.1.5

Can you reproduce the issue with our latest release version:

yes

Can you reproduce the issue with the latest code from master:

yes

Are you using the demo app or your own custom app:

both

If custom app, can you reproduce the issue using our demo app:

yes

What browser and OS are you using:

windows, android, macOS

What are the manifest and license server URIs:
(you can send the URIs to shaka-player-issues@google.com instead, but please use GitHub and the template for the rest)

any

What did you do?

see below.

What did you expect to happen?

see below.

What actually happened?

We added some basic "offline" Behaviour into our Players - at least to that Point, that it shouldnt just crash, when going offline, but instead showing a Message, pause Contents and wait until Network comes back.
This works actually quite nice - but sadly, SHAKA does not like this :)
When Network turns off, we try with pause() to pause the Player - mostly, an Error from SHAKA is already triggered, but we were able to ignore this.
Nevertheless, problematic is the Return of the Internet. Afer being sure, Internet is back, we seek -5 Seconds and start Playback again (that works also), but once the Parts are reached, that were previously not being available because of being Offline (I think), SHAKA stops and nothing happens.
So, summing it up - is there any way to purge the internal Cache or force SHAKA to reload Segments or make SHAKA not cache/download/try anything when !navigator.onLine ?

Thanks a lot!
Christoph

Metadata

Metadata

Assignees

Labels

status: archivedArchived and locked; will not be updated

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions