media icon indicating copy to clipboard operation
media copied to clipboard

The hls url can not play

Open FongMi opened this issue 3 weeks ago • 6 comments

Version

Media3 1.8.0

More version details

No response

Devices that reproduce the issue

All device

Devices that do not reproduce the issue

No

Reproducible in the demo app?

Yes

Reproduction steps

Put hls to json and set cleartextTrafficPermitted="true"

Expected result

Start play

Actual result

Waiting for time synchronization

Media

http://51.83.135.95/StarMovies/index.m3u8

Bug Report

  • [ ] You will email the zip file produced by adb bugreport to [email protected] after filing this issue.

FongMi avatar Dec 06 '25 22:12 FongMi

Hi, is this source url have region lock or still accssible? It ts return 404

Image

osscv avatar Dec 08 '25 04:12 osscv

Sure, still accessible. maybe use china or taiwan vpn.

Image

FongMi avatar Dec 08 '25 04:12 FongMi

Okay, Media3 (EXOPlayer) seems unable to play, but i try with MPV Player works fine. I try to debug, to get more infomation on it, do u have any logs or related to this stream (the codec and etc)?

osscv avatar Dec 08 '25 05:12 osscv

Sorry, I don't have any information about this video; it was reported by one of my users.

FongMi avatar Dec 08 '25 06:12 FongMi

Noted, let me try to find out.

osscv avatar Dec 08 '25 09:12 osscv

Can you play the TS files referenced from this HLS playlist directly? I tried playing the HLS stream and can observe the occasional 404 return value and that it doesn't start playing. It looks like we are unable to read the samples from the stream as the sample queues stay empty. It's likely the files are malformed or have missing data. I also see lots of logging from PesReader about Unexpected start code prefix: 3999523 and Unexpected start code prefix: 2950947

tonihei avatar Dec 08 '25 15:12 tonihei