Playing encrypted TS videos failed.
@rohitjoins is already working on this.
Since Sep 30, 2025.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Version
Media3 1.8.0
More version details
No response
Devices that reproduce the issue
all devices
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
play this m3u8 file.
log :
EventLogger E internalError [eventTime=43.24, mediaPos=0.00, window=0, period=0, loadError androidx.media3.common.ParserException: Cannot find sync byte. Most likely not a Transport Stream. {contentIsMalformed=true, dataType=1} at androidx.media3.extractor.ts.TsExtractor.findEndOfFirstTsPacketInBuffer(TsExtractor.java:597) at androidx.media3.extractor.ts.TsExtractor.read(TsExtractor.java:464) at androidx.media3.exoplayer.hls.BundledHlsMediaChunkExtractor.read(BundledHlsMediaChunkExtractor.java:102) at androidx.media3.exoplayer.hls.HlsMediaChunk.feedDataToExtractor(HlsMediaChunk.java:535) at androidx.media3.exoplayer.hls.HlsMediaChunk.loadMedia(HlsMediaChunk.java:499) at androidx.media3.exoplayer.hls.HlsMediaChunk.load(HlsMediaChunk.java:443) at androidx.media3.exoplayer.upstream.Loader$LoadTask.run(Loader.java:453) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:919)
Expected result
success
Actual result
faid
Media
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.