ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

The Exoplayer can not play the m3u8

Open lsgfly opened this issue 7 years ago • 4 comments

lsgfly avatar Jun 21 '19 11:06 lsgfly

This issue does not have all the information required by the template. Looks like you forgot to fill out some sections. Please update the issue with more information.

google-oss-bot avatar Jun 21 '19 11:06 google-oss-bot

I use the Exoplayer to play the url   http://hbsh.chinashadt.com:2036/live/8.stream/chunklist_w693062733.m3u8 . It can not be played successful, but no error occured. But when I get the ts from m3u8 file, It can be played successful.

lsgfly avatar Jun 21 '19 11:06 lsgfly

[REQUIRED] Issue description

I use the Exoplayer to play the url   http://hbsh.chinashadt.com:2036/live/8.stream/chunklist_w693062733.m3u8 . It can not be played successful, but no error occured. But when I get the ts from m3u8 file, It can be played successful.

[REQUIRED] Reproduction steps play the url http://hbsh.chinashadt.com:2036/live/8.stream/chunklist_w693062733.m3u8 .

[REQUIRED] A full bug report captured from the device

[REQUIRED] Version of ExoPlayer being used 2.8.2

[REQUIRED] Device(s) and version(s) of Android being used android 9.0 vivo X27

lsgfly avatar Jun 21 '19 11:06 lsgfly

For Android 9.0 and above, you would have to add following line in tag to your AndroidManifest.xml.

android:usesCleartextTraffic="true"

There is a warning shown when app is run on newer Android OS.

"Cleartext traffic not permitted"

Refer to this documentation link. HTTPS links will not face this issue.

umangsaini avatar Jun 21 '19 13:06 umangsaini