Certain hls videos wait forever for eos in mediaCodec
@tianyif is already working on this.
Since Sep 20, 2023.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Version
ExoPlayer 2.18.1
More version details
No response
Devices that reproduce the issue
Samsung Galaxy S22, Android 12
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
No
Reproduction steps
- Start broadcasting through apple low latency hls
- Stop broadcasting.
Expected result
return Player.STATE_END from onPlayerStateChanged listener
and isPlaying() is false
Actual result
return Nothing from onPlayerStateChanged listener
and isPlaying() is alway true
Media
[MediaCodecRenderer.drainOutputBuffer:1822]
If you play it again with the same media link, there is no problem, and problems occur only when the stream is cut off during video playback, making it difficult to attach media files.
Instead, when I checked the MediaCodecRender through debugging, I found that I was checking the infinite loop in the above state
Please let me know if you need any additional information
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.