Skip to content

Live channel pause - resume functionality #2344

@ChernyshovYuriy

Description

@ChernyshovYuriy

Dear colleagues,

I decided to file a separate issue regarding functionality of Pause and Resume Live channel. Behaviour is not consistent and could not be fit into this issue only.

Here are two links of the public streams provided by NASA (it is public):
http://nasatv-lh.akamaihd.net/i/NASA_101@319270/master.m3u8
http://nasatv-lh.akamaihd.net/i/NASA_103@319271/master.m3u8

Using the latest version of ExoPlayer, which is 2.1.1, and by pausing and resuming after a wild there are different behaviour of the ExoPlayer. Depends on how long pause was, there could be InvalidResponseCodeException, BehindLiveWindowException, or player can stack on the buffering state. These are I discovered so far.

Issue can be reproducible by current version just by providing specified URLs in the "media.exolist.json" (in the "HLS" node).

Expected behaviour for the Live stream is to fetch the latest playlist as soon as Resume. Or, at least to play out buffered chunks and fetch the latest playlist.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions