nova-video-player / aos-AVP

NOVA opeN sOurce Video plAyer: main repository to build them all
Apache License 2.0
3.52k stars 201 forks source link

[Bug]: NOVA don`t play *.m3u8 #1096

Open ansilent opened 9 months ago

ansilent commented 9 months ago

Problem description

NOVA don`t play *.m3u8

Steps to reproduce the issue

When I open a video in the Lampa TV app I see a black screen. The link to the video has the format https://хх.ххххх.ххх/content/stream/new/ххххххххх.хххх.1080p.webdl.ukr.line_115505/hls/1080/index.m3u8

Inside the index.m3u8 :

EXTM3U

EXT-X-VERSION:3

EXT-X-ALLOW-CACHE:YES

EXT-X-TARGETDURATION:10

EXT-X-MEDIA-SEQUENCE:1

EXT-X-PLAYLIST-TYPE:VOD

EXTINF:5.005000,

segment1.ts

EXTINF:5.880878,

segment2.ts

EXTINF:6.423078,

segment3.ts

EXTINF:5.005000,

segment4.ts

EXTINF:5.630633,

segment5.ts

EXTINF:5.005000,

segment6.ts

EXTINF:5.005000,

segment7.ts

EXTINF:5.005000,

segment8.ts . . . . . . . . . . . . . .

EXT-X-ENDLIST

Expected behavior

No response

Your phone/tablet/androidTV model

Mecool KM2

Operating system version

Android TV 12

Application version and app store

No response

Additional system information

No response

Debug logs

No response

phhusson commented 9 months ago

What you want is not m3u8 support, it's HLS support. It normally doesn't make sense for a video player to read HLS streams, because it's usually streams, not "file video". Maybe your precise use-case makes sense, and we could look at it, but you're giving too little information as to your usecase for us to decide.

ansilent commented 9 months ago

Thanks for your reply. What additional information should I provide?

phhusson commented 9 months ago

Explain what is your usecase.

ansilent commented 9 months ago

I use Lampa TV app to watch movies. The Lampa TV is a free application for watching movies online. This application parses links to movies from various Internet resources. The links will open in third-party media players. And I want to use Nova to watch selected movie. For example parsed link has the format https://хх.ххххх.ххх/content/stream/new/ххххххххх.хххх.1080p.webdl.ukr.line_115505/hls/1080/index.m3u8

phhusson commented 9 months ago

That's https://lampa.mx right?

ansilent commented 9 months ago

Yes. Client browser for Android https://github.com/lampa-app/LAMPA

phhusson commented 9 months ago

Understood, thanks. So, I'm sorry, but our primary target is to handle a collection of video files, not play back every internet stream. Since you're not using Nova Video Player to handle your collection, we feel that your use-case doesn't fit what we intent to do. For a "simple" video player that supports HLS, you can find many others. For your use case, I recommend Just Player which should handle your HLS just fine.