befovy / fijkplayer

ijkplayer for flutter. ijkplayer 的 flutter 封装。 Flutter video/audio player. Flutter media player plugin for android/iOS based on ijkplayer. fijkplayer 是基于 ijkplayer 封装的 flutter 媒体播放器,开箱即用,无需编译 ijkplayer
https://fijkplayer.befovy.com
MIT License
1.64k stars 351 forks source link

[BUG] mac platform support #250

Open Leo-Lionni opened 4 years ago

Leo-Lionni commented 4 years ago

Describe the bug 官方实例跑在macos平台;可以出来ui,但是一直处于加载中,无法播放; 开发机器:mbp 2019 flutter版本: `Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel master, 1.19.0-1.0.pre, on Mac OS X 10.15.4 19E287, locale en-CN)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 11.4.1) [✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome) ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable. [!] Android Studio (not installed) [✓] VS Code (version 1.45.1) [✓] Connected device (4 available)

! Doctor found issues in 2 categories.` What attempts have you made to resolve this error ?

  1. 在macos/下,执行pod install --verbose 得到 Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.

  2. 在xxxx/macos/Runner/Debugxxxx/macos/Runner/DebugProfile.entitlements加入com.apple.security.network.client

  3. 同时使用dio验证访问http://www.baidu.com 返回为200 OK;

Expected behavior 希望插件可以支持macos

Screenshots

fijkplayer version 0.8.4

Smartphone (please complete the following information): 什么手机设备和系统版本?

Additional context 补充:安卓也无法运行;

feedback_fijkvideoplayer bud2

befovy commented 4 years ago

fijkplayer 还不直接支持 mac 平台。 通过 go-flutter 项目提供 mac 平台支持

nguyenthanhphap1413 commented 4 years ago
Screen Shot 2020-07-15 at 13 56 50

color white in top, ios devices ^^