chudongvip / awesome_video_player

This is a flutter package of video player. it's a very simple and easy to use.
MIT License
195 stars 36 forks source link

能否支持直播? #6

Closed KevinQiaoL closed 4 years ago

KevinQiaoL commented 4 years ago

请问有没有打算支持直播功能呢?

chudongvip commented 4 years ago

我没有测试,但是我听集成过的人说,支持m3u8,你可以试试看

DyncMark commented 4 years ago

现在就支持hls协议(m3u8直播),你指得直播是那种协议的?

telinx commented 4 years ago

ios 不支持hls, 测试地址http://cctvalih5ca.v.myalicdn.com/live/cctv1_2/index.m3u8

DyncMark commented 4 years ago

是真机吗

telinx commented 4 years ago

@DyncMark

[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.1 19B88, locale en-CN)
    • Flutter version 1.12.13+hotfix.5 at /Users/liuyucang/git/flutter
    • Framework revision 27321ebbad (3 months ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/setup/#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, set ANDROID_HOME to that location.
      You may also want to add it to your PATH environment variable.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2.1, Build version 11B53
    • CocoaPods version 1.8.4

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/setup/#android-setup for detailed instructions).

[!] IntelliJ IDEA Ultimate Edition (version 2018.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] VS Code (version 1.42.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.1

[✓] Connected device (1 available)
    • iPhone6splus • sdsdsdsdsdsdsdsdsdsds • ios • iOS 13.1.2
DyncMark commented 4 years ago

我的意思是你用的ios模拟器,还是iOS真机调试

KevinQiaoL commented 4 years ago

真机,目前这块儿已经没有问题了

------------------ 原始邮件 ------------------ 发件人: "Mark_anyRTC"<notifications@github.com>; 发送时间: 2020年3月5日(星期四) 中午11:37 收件人: "chudongvip/awsome_video_player"<awsome_video_player@noreply.github.com>; 抄送: "409526710"<409526710@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [chudongvip/awsome_video_player] 能否支持直播? (#6)

我的意思是你用的ios模拟器,还是iOS真机调试

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

DyncMark commented 4 years ago

结论:本播放器支持hls —————— 还有其他问题吗?

KevinQiaoL commented 4 years ago

没有问题了,感谢

------------------ 原始邮件 ------------------ 发件人: "Mark_anyRTC"<notifications@github.com>; 发送时间: 2020年3月5日(星期四) 中午11:39 收件人: "chudongvip/awsome_video_player"<awsome_video_player@noreply.github.com>; 抄送: "409526710"<409526710@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [chudongvip/awsome_video_player] 能否支持直播? (#6)

结论:本播放器支持hls —————— 还有其他问题吗?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

telinx commented 4 years ago

@DyncMark ,抱歉,没表达清楚,使用的是真机,iPhone6splus • ios • iOS 13.1.2,刚测试awplayer还是不支持HLS,测试地址是http://cctvalih5ca.v.myalicdn.com/live/cctv1_2/index.m3u8,测试地址用Chrome 插件验证可以播放。谢谢。