flutter_macos_video_player icon indicating copy to clipboard operation
flutter_macos_video_player copied to clipboard

Open HLS (m3u8) url

Open postacik opened this issue 1 year ago • 3 comments

I could not succeed to open an m3u8 url with this library. Is it ever possible?

The following URL opens fine with video_player on iOS and Android but not on MacOS with this library.

https://live1pop03.kablowebtv.com/Live/HLS/1022/1022.m3u8

postacik avatar Mar 07 '23 14:03 postacik

The following url works fine on MacOS, Android and iOS:

https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8

Do you have any idea about how to fix this?

The first url is a live streaming url. The second working one is a pre-recorded movie.

postacik avatar Mar 07 '23 20:03 postacik

@postacik we do video transcoder and content checks on all our user generated content and convert them to standard MP4's so we have no need for that format.

You'd need to make a pull request to fix it :-)

If you're not doing transcoder and adult checks you are playing a risky game 😎

ollyde avatar Mar 08 '23 18:03 ollyde

@ollyde I'm totally confused by your answer.

The following url is playing fine on MacOS with this package: https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8

However the following one is not playing at all: https://live1pop03.kablowebtv.com/Live/HLS/1022/1022.m3u8

The second one is playing fine with video_player package on iOS.

This package is also using AVPlayer as video_player does on iOS. I'm just trying to figure out what I can do to make the second url play on MacOS with this package.

When I open the MacOS project with Xcode, I see the following error in the log:

Query fired: did not receive all answers in time for live1pop03.kablowebtv.com:443

I hope, my question is clearer now.

postacik avatar Mar 08 '23 20:03 postacik