androidx / androidx/media

Exoplayer plays HLS stream without audio

Open
#1,378 2 comments 0 reactions 1 assignee View on GitHub

@tianyif is already working on this.

Since May 17, 2024.

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

Description

Version

Media3 1.1.1 / ExoPlayer 2.19.1

More version details

No response

Devices that reproduce the issue

Ugoos X4, Ugoos X3 and any other Android device i guess

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps
  1. Optional*. Replace default demo app extractor with DefaultHlsExtractorFactory(FLAG_ALLOW_NON_IDR_KEYFRAMES, false) to be able to play at least the video.
  2. Replace one of the sample stream urls to the one i sent to you by the mail
  3. Play the stream on demo app
Expected result

The hls stream plays stream that includes video and audio tracks

Actual result

ExoPlayer plays video with no sound.

Logs tell that there's no audio at all, even if there is:

tracks [eventTime=0.72, mediaPos=0.00, window=0, period=0
group [
[X] Track:0, id=0, mimeType=video/avc, container=application/x-mpegURL, bitrate=3950000, codecs=avc1.4d401e, res=1048x576, fps=25.0, supported=YES
]
group [
[X] Track:0, id=ID3, mimeType=application/id3, supported=YES
]
Metadata [
HlsTrackMetadataEntry
]
]

Media

Sent the hls stream url to android-media-github@google.com

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.