caijinglong / flutter_ijkplayer Goto Github PK
View Code? Open in Web Editor NEWijkplayer for flutter
License: MIT License
ijkplayer for flutter
License: MIT License
请问 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(() {});
})
希望有空处理一下这个bug,谢谢🙏
我在自己集成时,会报一个错误: Option ijkiomanager not found.不知道你有没有遇到呢,自己写成全原生的没问题。。。
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.
连接手机跑起来没问题,想编译打包,执行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.
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
我经过测试其实不是 安卓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
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
.
自定义的几个地方,希望能够不限制类型和参数个数额,我想自定义一个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,
);
}
求助,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()}");
});
请问可以倍速播放吗 如二倍速?
之前在释放资源前,都会调一下这个方法判断控制器是否初始化完毕,再释放。
可有的时候,取出来的状态不对,原本是初始化了,可是结果却是没有初始化。
希望您留意下这个问题
[Bug]flutter_ijkplayer 0.2.2 IOS 全屏模式下黑屏
报错:
Unhandled Exception: NoSuchMethodError: The method '+' was called on null.
老哥话说视频缓存在flutter怎么去做啊,例如电视剧缓存集数什么的,或者老哥要不要考虑搞个插件什么的
iOS 是swift 工程,build 时 copyPixelBuffer 方法里有报错无法编译
点退出全屏按钮后,不能回到竖屏模式
想在IOS播放FLV视频流
描述一下你遇到的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 不知道怎么处理
Hi,
I know this is not an issue. But I'd really need some help in disabling the beep sound when the volume is changed in the video player.
Any suggestion is appreciated.
Thanks :)
看了GSYplayer的文章,ijk好像是支持切换解码方式的,不知道flutter_ijk可不可以提供出相应的API呢?
播放rtsp流黑屏,只有进度条正常
在直播时,如果用手势左右滑动会操作进度,导致直播内容异常,请问该怎么选择性的屏蔽部分手势功能呢?
目前支持
IJKPlayer、EXOPlayer、MediaPlayer切换、自定义内核 吗?
IOS真机播放没有图像,偶尔会有图像,但是不能拖动,一拖动就会卡在那里。有的时候,进去就是黑屏的。
ERROR: Unable to resolve dependency for ':flutter_ijkplayer@debug/compileClasspath': Could not resolve tv.danmaku.ijk.media:ijkplayer-java:0.8.8.
指定长宽后,画面不能铺满,有两条黑边,要是有调整画面比例的api就好了
描述一下你遇到的bug
描述一下你的bug
重现bug
安卓9.0 无法安装会出现闪退的情况
用手机和 模拟器都是一样的结果 安卓7.0正常
如题 手机型号 meizu 15 plus,打包时候 libs 中只保留了armeabi-v7a 的文件 其他的都删了。
我在自己集成时,会报一个错误: Option ijkiomanager not found.
issue遵循以下几个原则:
问题模板中的信息,如果不能完全满足,也请换位思考, 能否用于解决问题.
有几个问题想咨询下大神
1、视频全屏后,能否修改退出全屏按钮的位置,statusWidgetBuilder在窗口播放时能在上面自定义内容,全屏发现无效果;
2、视频全屏后,物理返回是返回页面,而不只是退出全屏状态,这块能修改吗
我可以自定义视频播放长度么?
比如,非会员,只能观看一分钟视频。
** 简单描述 **
用flutter的pakages导入此库,使用此库后,debug版本可用,flutter build apk出来的app直接启动页闪退,注释此库,正常运行,是需要什么设置吗
** 辅助信息 **
请问一下flutter有几种方式播放视频,除了纹理的方式还有其他的吗 目前纹理的方式是不是 性能最好的?
项目很棒,十分感谢,希望大佬能继续维护
@CaiJingLong do you have a suggested workflow to strip down the package to include only the required codecs / formats for a project?
I would try to:
flutter_ijkplayer_pod
repo with the files使用的同一个IjkMediaController去播放视频。
每次播放下一个视频时,我都掉用了销毁相关的方法。
刚开始没有问题,可是播放几个视频后,就出现有的视频源一直在播放,声音一直存在。
我写的关闭方法是:
await _ijkController.pauseOtherController();
await _ijkController.pause();
await _ijkController.stop();
await _ijkController.reset();
你好我看新版的0.2.4用的是Navigator.push实现的但是这样就会涉及到 页面的生命周期,调用.push的时候原页面会 调用 dispose但是如果缩小全屏的时候页面又要重新加载 这样不太合理吧
安卓正常播放时,普通切换至全屏、全屏切换至普通 都会导致视频从头开始播放,请问有遇到过这个问题吗?
之前使用chewie插件也有这种情况
视频资源缓冲的时候,画面就不动了,给人的感觉就是卡住了。希望能够修复这个问题
用了一下腾讯播放器的Demo,感觉挺好的,在IJK的基础上做了更好的封装。
希望你能出一个这个播放器的插件。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.