Exoplayer plays HLS stream without audio
@tianyif is already working on this.
Since May 17, 2024.
- 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
- Optional*. Replace default demo app extractor with DefaultHlsExtractorFactory(FLAG_ALLOW_NON_IDR_KEYFRAMES, false) to be able to play at least the video.
- Replace one of the sample stream urls to the one i sent to you by the mail
- 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 bugreportto android-media-github@google.com after filing this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.