androidx / androidx/media

Playing encrypted TS videos failed.

Open
#2,807 1 comment 0 reactions 1 assignee View on GitHub

@rohitjoins is already working on this.

Since Sep 30, 2025.

bug needs triage
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

email

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.