Add re-synchronization logic to OggExtractor
@icbaker is already working on this.
Since Mar 25, 2025.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Version
Media3 main branch
More version details
I am streaming ogg wrapped opus audio from ffmpeg via UDP. The exoplayer can only connect to the stream if it’s listening first and receives the first packet with the header information.
If the stream has been playing and exoplayer attempts to connect mid-stream, it doesn’t recognize that it needs to use the OggExtractor. It fails to find one it can use.
I would hope that the exoplayer can find the next ogg container page, and resume playback. Is this a bug, or can I configure the player differently to connect?
Devices that reproduce the issue
Samsung Active5
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
Stream UDP wrapped opus audio. Connect to that stream mid-way.
Expected result
Exoplayer resumes playback.
Actual result
Crashed with media extractor not found.
Media
Ogg wrapped opus.
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.