androidx / androidx/media

Playback of an HLS stream with redundant playlists for failover does not work if primary stream is missing

Open
#1,988 9 comments 0 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Dec 19, 2024.

bug
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

Version

Media3 1.4.1

More version details

Bug also reproduceable in Media3 v1.4.0. /1.5.0

Devices that reproduce the issue

Google Pixel 7a with Android 15

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

Play a HLS Livestream Manifest with primary and backup playlist on an Android based device which uses ExoPlayer(Android TV, Smartphone, etc.)
Condition: Primary streams (manifest, + segments) are not available (HTTP 404 Errorcode)

Example HLS Manifest:
index.m3u8.txt

Expected result

The player switches to the backup playlists when recieving "HTTP ERROR 404" for the primary playlists.

Actual result

The player stops playback

Media

Not applicable,
A test stream will be delivered later, as it is currently only available in Germany due to geoblocking.

Bug Report
  • You will email the zip file produced by adb bugreport to
    android-media-github@google.com after filing this issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.