GithubHelp home page GithubHelp logo

caijinglong / flutter_ijkplayer Goto Github PK

View Code? Open in Web Editor NEW
790.0 13.0 149.0 29.1 MB

ijkplayer for flutter

License: MIT License

Kotlin 6.57% Ruby 2.04% Objective-C 11.42% Dart 78.38% HTML 1.19% Shell 0.40%
ijkplayer video flutter player media ffmpeg

flutter_ijkplayer's People

Contributors

caijinglong avatar dotcink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flutter_ijkplayer's Issues

监听数据的问题

请问 flutter_ijkplayer 有没有办法监听 播放器事件比如VideoPlayer 插件
能不能支持 addListener 事件
_videoPlayerController1 = VideoPlayerController.network(widget.url)..addListener(() {
final bool isPlaying = _videoPlayerController1.value.isPlaying;
if (isPlaying != _isPlaying) {
setState(() { isPlaying = isPlaying; });
}
})..initialize().then((
) {
setState(() {});
})

安卓会报这个错

Launching lib/main.dart on M10 in debug mode...
Initializing gradle...
Resolving dependencies...
* Error running Gradle:
ProcessException: Process "/Users/xxxxxx/examples/flutter_test_demo/android/gradlew" exited abnormally:

> Configure project :flutter_ijkplayer

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/seifon/dev-tool/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_ijkplayer-0.2.2/android/build.gradle' line: 23

* What went wrong:
A problem occurred evaluating project ':flutter_ijkplayer'.
> Plugin with id 'kotlin-android-extensions' not found.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
  Command: /Users/seifon/Project/examples/flutter_test_demo/android/gradlew app:properties

Finished with error: Please review your Gradle project setup in the android/ folder.

[Need help]flutter build ios时会有异常

连接手机跑起来没问题,想编译打包,执行flutter build ios时出现以下错误,没做过ios原生,求大神帮解答

Xcode's output:

=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===
ld: warning: ignoring file /Users/yujie/AndroidStudioProjects/flutter_app/ios/Pods/FlutterIJK/IJKMediaFramework.framework/IJKMediaFramework, missing required architecture armv7 in file
/Users/yujie/AndroidStudioProjects/flutter_app/ios/Pods/FlutterIJK/IJKMediaFramework.framework/IJKMediaFramework (3 slices)
Undefined symbols for architecture armv7:
"OBJC_CLASS$_IJKFFOptions", referenced from:
objc-class-ref in libflutter_ijkplayer.a(CoolFlutterIJK.o)
"_IJKMPMoviePlayerVideoRotationRotateUserInfoKey", referenced from:
-[CoolIjkNotifyChannel movieRotationChange:] in libflutter_ijkplayer.a(CoolIjkNotifyChannel.o)
"_IJKMPMoviePlayerPlaybackStateDidChangeNotification", referenced from:
-[CoolIjkNotifyChannel registerObserver] in libflutter_ijkplayer.a(CoolIjkNotifyChannel.o)
-[CoolIjkNotifyChannel unregisterObservers] in libflutter_ijkplayer.a(CoolIjkNotifyChannel.o)
"_IJKMPMoviePlayerVideoRotationNotification", referenced from:
-[CoolIjkNotifyChannel registerObserver] in libflutter_ijkplayer.a(CoolIjkNotifyChannel.o)
-[CoolIjkNotifyChannel unregisterObservers] in libflutter_ijkplayer.a(CoolIjkNotifyChannel.o)
"_IJKMPMoviePlayerPlaybackDidFinishNotification", referenced from:
-[CoolIjkNotifyChannel registerObserver] in libflutter_ijkplayer.a(CoolIjkNotifyChannel.o)
-[CoolIjkNotifyChannel unregisterObservers] in libflutter_ijkplayer.a(CoolIjkNotifyChannel.o)
"OBJC_CLASS$_IJKFFMoviePlayerController", referenced from:
objc-class-ref in libflutter_ijkplayer.a(CoolFlutterIJK.o)
"_IJKMPMoviePlayerLoadStateDidChangeNotification", referenced from:
-[CoolIjkNotifyChannel registerObserver] in libflutter_ijkplayer.a(CoolIjkNotifyChannel.o)
-[CoolIjkNotifyChannel unregisterObservers] in libflutter_ijkplayer.a(CoolIjkNotifyChannel.o)
"_IJKMPMediaPlaybackIsPreparedToPlayDidChangeNotification", referenced from:
-[CoolIjkNotifyChannel registerObserver] in libflutter_ijkplayer.a(CoolIjkNotifyChannel.o)
-[CoolIjkNotifyChannel unregisterObservers] in libflutter_ijkplayer.a(CoolIjkNotifyChannel.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Encountered error while building for device.

IOS编译时,会报这个错

Launching lib/main.dart on iPhone in debug mode...
Signing iOS app for device deployment using developer identity: "iPhone Developer: xxxxxx (xx xx)"
Running pod install...
CocoaPods' output:
↳
      Preparing

    Analyzing dependencies

    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

    Fetching external sources
    -> Fetching podspec for `Flutter` from `.symlinks/flutter/ios`
    -> Fetching podspec for `flutter_ijkplayer` from `.symlinks/plugins/flutter_ijkplayer/ios`

    Resolving dependencies of `Podfile`
    [!] Unable to find a specification for `FlutterIJK (~> 0.0.9)` depended upon by `flutter_ijkplayer`

    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:402:in `find_cached_set'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:372:in `specifications_for_dependency'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:177:in `search_for'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:288:in `block in sort_dependencies'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:281:in `each'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:281:in `sort_by'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:281:in `sort_dependencies'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provider.rb:53:in `block in sort_dependencies'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provider.rb:70:in `with_no_such_dependency_error_handling'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provider.rb:52:in `sort_dependencies'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:754:in `push_state_for_requirements'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:746:in `require_nested_dependencies_for'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:729:in `activate_new_spec'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:686:in `attempt_to_activate'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:254:in `process_topmost_state'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:182:in `resolve'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:in `resolve'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:123:in `resolve'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:781:in `block in resolve_dependencies'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:64:in `section'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:779:in `resolve_dependencies'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:88:in `analyze'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:243:in `analyze'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:154:in `block in resolve_dependencies'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:64:in `section'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:153:in `resolve_dependencies'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:116:in `install!'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/command/install.rb:41:in `run'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:52:in `run'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/bin/pod:55:in `<top (required)>'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/bin/pod:22:in `load'
    /usr/local/Cellar/cocoapods/1.5.3/libexec/bin/pod:22:in `<main>'

Error output from CocoaPods:
↳

    [!] Automatically assigning platform `ios` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Finished with error: Error running pod install

[Bug]关于客户端闪退问题报告

我经过测试其实不是 安卓9.0会崩溃而是因为在
~/project1/android/build.gradle 中加入了
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

这段代码的话 我通过正常的发包 flutter build apk --release 然后下载到手机上后会出现 闪退的情况 不止安卓9.0我的安卓7.0也会出现闪退
不是做安卓出来的遇到这个问题很痛苦 有没有办法解决?
今天试了很多办法都不行

系统信息:
➜ huangua2 flutter doctor -v
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.3 18D109, locale zh-Hans-CN)
• Flutter version 1.2.1 at /Users/sam/flutter
• Framework revision 8661d8aecd (8 weeks ago), 2019-02-14 19:19:53 -0800
• Engine revision 3757390fa4
• Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/sam/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = /Users/sam/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
• All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 1.9.4
• CocoaPods version 1.5.3

[✓] Android Studio (version 3.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 34.0.1
• Dart plugin version 182.5215
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[!] IntelliJ IDEA Ultimate Edition (version 2018.2.4)
• 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.io/intellij-setup/#installing-the-plugins

[✓] Connected device (1 available)
• OD103 • a013c25f • android-arm64 • Android 7.1.1 (API 25)

! Doctor found issues in 1 category.

加载视频,是不是有设置超时时间呢?

播放视频的源,因为加载比较耗时,两三秒就报错了

    "LocalDataTask <053C8B40-B031-49C0-A3FE-6A01DBE8A42E>.<1>"
)} [303]
	[C2.1 C141AF96-99E6-49A0-969B-64E5DB49964B 192.168.1.108:54305<->124.192.164.41:443]
	Connected Path: satisfied (Path is satisfied), interface: en1
	Duration: 10.245s, DNS @0.005s took 0.016s, TCP @0.024s took 0.044s, TLS took 0.113s
	bytes in/out: 4002/756, packets in/out: 7/7, rtt: 0.041s, retransmitted packets: 0, out-of-order packets: 0

[Need help] Confirm if rtmp is working

Hello @CaiJingLong! Awesome stuff, thanks for all the effort you put into this.

I would like to confirm that rtmp protocol is working as you inteded it to. I created an app based on your english readme, all network playback works as they should but rtmp. All I get is a black screen.

On the other end of the stream, I used nginx-rtmp module. I confirmed that the stream works by viewing it with an rtmp-capable player: MX Player.

IjkPlayer 自定义 controllerWidgetBuilder

自定义的几个地方,希望能够不限制类型和参数个数额,我想自定义一个controllerWidgetBuilder,需要多传一个对象参数进去,发现无法通过编译。

另外,希望几个自定义的地方,能够放开类型限制,或者做一下更好的调整

typedef Widget IJKControllerWidgetBuilder(IjkMediaController controller);

/// default create IJK Controller UI
Widget defaultBuildIjkControllerWidget(IjkMediaController controller) {
  return DefaultIJKControllerWidget(
    controller: controller,
//    verticalGesture: false,
//    horizontalGesture: false,
  );
}

我想这样传,发现过不了编译:

Widget qIjkControllerWidget(IjkMediaController controller, HomeItem homeItem) {
  return QIjkController(
    controller: controller,
    homeItem: homeItem,
//    verticalGesture: false,
//    horizontalGesture: false,
  );
}

[Need help]求助,加密的m3u8视频无法播放,不知为何?

求助,ios平台加密的m3u8视频无法播放,安卓平台可以,不知为何?

ios logs:
ijkmediaplayer version : k0.8.8-7-g96d0bd3e===== custom modules begin =====
register demuxer : ijklivehook
===== custom modules end =====
av_version_info: ff3.4--ijk0.8.7--20180103--001
ijk_version_info: k0.8.8-7-g96d0bd3e
ijkmp_set_inject_opaque(0x281596640)
ijkmp_set_inject_opaque()=void
ijkmp_set_ijkio_inject_opaque(0x281596640)
ijkmp_set_ijkio_inject_opaque()=void
2019-05-18 22:06:03.477280+0800 Runner[2616:827368] OK setup GL
ijkmp_ios_set_view(glView=0x14e920f70)
ijkmp_ios_set_view(glView=0x14e920f70)=void
ijkmp_set_data_source
ijkmp_prepare_async()
ijkmp_prepare_async()=0
FFP_MSG_ERROR: 0
flutter: (w)Ijk:play error , errorValue : 0

初始化播放时,不能监听到状态

比如我要播放这个地址:

https://js.wshls.acgvideo.com/live-js/922199/live_8747041_1741679.m3u8?wsSecret=1337e20698b1673ac73ea8f35e2d60e8&wsTime=1556966389&trid=5afe0383d7d149dabe0c0327c2e53a75&order=1&sig=no

这个地址是404的,然后加载播放,日志里面都打印错误了。可是写的状态监听,确监听不到消息。

日志:

D/IJKMEDIA(22697): ijkmp_prepare_async()=0
I/IJKMEDIA(22697): SDL_RunThread: [22781] ff_read
I/IJKMEDIA(22697): SDL_RunThread: [22780] ff_vout
W/IJKMEDIA(22697): https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled.
E/IJKMEDIA(22697): https://js.wshls.acgvideo.com/live-js/922199/live_8747041_1741679.m3u8?wsSecret=1337e20698b1673ac73ea8f35e2d60e8&wsTime=1556966389&trid=5afe0383d7d149dabe0c0327c2e53a75&order=1&sig=no: Protocol not found
I/IJKMEDIA(22697): SDL_JNI_DetachThreadEnv: [22781]
D/IJKMEDIA(22697): FFP_MSG_ERROR: 0
E/tv.danmaku.ijk.media.player.IjkMediaPlayer(22697): Error (-10000,0)
I/NotifyChannel(22697): onError -10000
I/NotifyChannel(22697): completion {duration=0.0, tcpSpeed=0, isPlaying=false, outputFps=0.0, currentPosition=0.0, width=0, degree=0, height=0}

监听代码:

_ijkController.ijkStatusStream.listen((ijkStatus) {
        print("监听到状态.... ${ijkStatus.toString()}");
      });

ijkController.isInit 获取不准确

之前在释放资源前,都会调一下这个方法判断控制器是否初始化完毕,再释放。

可有的时候,取出来的状态不对,原本是初始化了,可是结果却是没有初始化。

希望您留意下这个问题

flutter_ijkplayer 在IOS真机上运行报错

描述一下你遇到的bug
➜ flutter build ios
Building flutter.sex.com.sex for device (ios-release)...
Automatically signing iOS for device deployment using specified development team in Xcode project: GU9M63AKDT
Running pod install... 0.7s
CocoaPods' output:

Preparing

Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

Finding Podfile changes
  A flutter_ijkplayer
  M Flutter
  - path_provider
  - shared_preferences
  - url_launcher

Fetching external sources
-> Fetching podspec for `Flutter` from `.symlinks/flutter/ios-release`
-> Fetching podspec for `flutter_ijkplayer` from `.symlinks/plugins/flutter_ijkplayer/ios`
-> Fetching podspec for `path_provider` from `.symlinks/plugins/path_provider/ios`
-> Fetching podspec for `shared_preferences` from `.symlinks/plugins/shared_preferences/ios`
-> Fetching podspec for `url_launcher` from `.symlinks/plugins/url_launcher/ios`

Resolving dependencies of `Podfile`
[!] Unable to find a specification for `FlutterIJK (~> 0.0.9)` depended upon by `flutter_ijkplayer`

/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:402:in `find_cached_set'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:372:in `specifications_for_dependency'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:177:in `search_for'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:288:in `block in sort_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:281:in `each'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:281:in `sort_by'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:281:in `sort_dependencies'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provider.rb:53:in `block in sort_dependencies'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provider.rb:70:in `with_no_such_dependency_error_handling'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provider.rb:52:in `sort_dependencies'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:754:in `push_state_for_requirements'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:746:in `require_nested_dependencies_for'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:729:in `activate_new_spec'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:686:in `attempt_to_activate'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:254:in `process_topmost_state'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:182:in `resolve'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:in `resolve'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:123:in `resolve'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:781:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:779:in `resolve_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:88:in `analyze'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:243:in `analyze'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:154:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:153:in `resolve_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:116:in `install!'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/command/install.rb:41:in `run'
/Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:22:in `load'
/usr/local/bin/pod:22:in `<main>'

Error output from CocoaPods:

[!] Automatically assigning platform `ios` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for
this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Error running pod install

2.运行 pos install
➜ ios pod install
Analyzing dependencies
Fetching podspec for Flutter from .symlinks/flutter/ios-release
Fetching podspec for flutter_ijkplayer from .symlinks/plugins/flutter_ijkplayer/ios
Fetching podspec for path_provider from .symlinks/plugins/path_provider/ios
Fetching podspec for shared_preferences from .symlinks/plugins/shared_preferences/ios
Fetching podspec for url_launcher from .symlinks/plugins/url_launcher/ios
[!] Unable to find a specification for FlutterIJK (~> 0.0.9) depended upon by flutter_ijkplayer

[!] Automatically assigning platform ios with version 8.0 on target Runner because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform.

说没有FlutterIJK 不知道怎么处理

rtsp播放

播放rtsp流黑屏,只有进度条正常

[Need help]直播时的手势问题

在直播时,如果用手势左右滑动会操作进度,导致直播内容异常,请问该怎么选择性的屏蔽部分手势功能呢?

IOS真机播放没有图像

IOS真机播放没有图像,偶尔会有图像,但是不能拖动,一拖动就会卡在那里。有的时候,进去就是黑屏的。

依赖下载不下来啊

ERROR: Unable to resolve dependency for ':flutter_ijkplayer@debug/compileClasspath': Could not resolve tv.danmaku.ijk.media:ijkplayer-java:0.8.8.

About issue ( issue 的一些简单管理规则)

issue遵循以下几个原则:

  1. 优先修复bug, 新功能实现优先级低.
  2. 无法复现的"bug"不处理,包括偶发问题(除非有相对完整的日志反馈),会保持一段时间的开启状态,但如果长时间(7天左右)没有进一步的可定位报告,会关闭.
  3. 已处理的问题在一段时间(一般7天左右),如open人员不关闭,我会关闭它.
  4. 需要进一步信息,且7天内无回复的,暂时关闭处理.
  5. 确认是bug的, 无法处理的问题会长期开启.
  6. 新功能不保证实现时间, 如果确定未来不会加入实现的新功能请求会被关闭.
  7. help wanted 标签的问题, 如得到解决/解答, 某一段时间会统一关闭.

问题模板中的信息,如果不能完全满足,也请换位思考, 能否用于解决问题.

[Need help] About FullScreen

有几个问题想咨询下大神

1、视频全屏后,能否修改退出全屏按钮的位置,statusWidgetBuilder在窗口播放时能在上面自定义内容,全屏发现无效果;

2、视频全屏后,物理返回是返回页面,而不只是退出全屏状态,这块能修改吗

[Need help]release版本 app闪退

** 简单描述 **
用flutter的pakages导入此库,使用此库后,debug版本可用,flutter build apk出来的app直接启动页闪退,注释此库,正常运行,是需要什么设置吗

** 辅助信息 **

请问一下flutter[Need help]

请问一下flutter有几种方式播放视频,除了纹理的方式还有其他的吗 目前纹理的方式是不是 性能最好的?

偶尔会出现 视频无法关闭

使用的同一个IjkMediaController去播放视频。

每次播放下一个视频时,我都掉用了销毁相关的方法。

刚开始没有问题,可是播放几个视频后,就出现有的视频源一直在播放,声音一直存在。

我写的关闭方法是:

await _ijkController.pauseOtherController();
await _ijkController.pause();
await _ijkController.stop();
await _ijkController.reset();

关于新版0.2.4 的 全屏显示 Bug

你好我看新版的0.2.4用的是Navigator.push实现的但是这样就会涉及到 页面的生命周期,调用.push的时候原页面会 调用 dispose但是如果缩小全屏的时候页面又要重新加载 这样不太合理吧

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.