packages icon indicating copy to clipboard operation
packages copied to clipboard

[video_player_avfoundation] Support the audio-only HLS (.m3u8) on iOS

Open napoleon-na opened this issue 1 year ago • 1 comments

Supports the audio-only HLS on iOS.

After through https://github.com/flutter/plugins/pull/4639 and https://github.com/flutter/plugins/pull/4727, we can play HLS videos and audios, but it does not support audio-only HLS. When attempting to play that on iOS, it never finishes initialization.

Show the before/after demonstration here: https://github.com/flutter/flutter/issues/156589#issuecomment-2408846446

Fixes: https://github.com/flutter/flutter/issues/156589 Test with https://github.com/flutter/assets-for-api-docs/pull/252

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

napoleon-na avatar Oct 18 '24 03:10 napoleon-na

I would appreciate checking https://github.com/flutter/assets-for-api-docs/pull/252 first to pass the tests in this PR. Although I read the docs, let me know if I need to go through a different process.

napoleon-na avatar Oct 18 '24 03:10 napoleon-na

@cbracken @hellohuanlin All checks have passed after the latest updates. Please let me know if there are any further changes. Thank you!

napoleon-na avatar Dec 10 '24 09:12 napoleon-na

when is this getting published as a new video_player version ?

nateshmbhat avatar Jan 31 '25 09:01 nateshmbhat

@nateshmbhat it should already be published

hellohuanlin avatar Jan 31 '25 19:01 hellohuanlin

I'm still seeing video_player library in pub dev showing last update was 3 months back

nateshmbhat avatar Feb 01 '25 02:02 nateshmbhat

I'm still seeing video_player library in pub dev showing last update was 3 months back

It's the implementation library: https://pub.dev/packages/video_player_avfoundation

hellohuanlin avatar Feb 03 '25 19:02 hellohuanlin

So if I use the current version of video player will it automatically use this new AV Foundation Player version?

nateshmbhat avatar Feb 04 '25 05:02 nateshmbhat