Git Product home page Git Product logo

player_flutter's People

Contributors

673697831 avatar dokieyang avatar tao-pu 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

Watchers

 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

player_flutter's Issues

知道是什么错误?

/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:114: error: package com.example.super_player does not exist
flutterEngine.getPlugins().add(new com.example.super_player.SuperPlayerPlugin());
^
1 error

OPPO手机, SuperPlayer 切换全屏播放报错

E/flutter (13093): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: PlatformException(error, bad array lengths, null, java.lang.RuntimeException: bad array lengths
E/flutter (13093): at android.os.Parcel.readTypedArray(Parcel.java:3160)
E/flutter (13093): at android.view.IWindowSession$Stub$Proxy.addToDisplayAsUser(IWindowSession.java:1382)
E/flutter (13093): at android.view.ViewRootImpl.setView(ViewRootImpl.java:1159)
E/flutter (13093): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:399)
E/flutter (13093): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:134)
E/flutter (13093): at android.app.Dialog.show(Dialog.java:363)
E/flutter (13093): at android.app.Presentation.show(Presentation.java:279)
E/flutter (13093): at io.flutter.plugin.platform.VirtualDisplayController.resize(VirtualDisplayController.java:161)
E/flutter (13093): at io.flutter.plugin.platform.PlatformViewsController$1.resizePlatformView(PlatformViewsController.java:290)
E/flutter (13093): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.resize(PlatformViewsChannel.java:141)
E/flutter (13093): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:65)
E/flutter (13093): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
E/flutter (13093): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:178)
E/flutter (13093): at io.flutter.embedding.engine.dart.DartMessenger.lambda$handleMessageFromDart$0$DartMessenger(DartMessenger.java:206)
E/flutter (13093): at io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$6ZD1MYkhaLxyPjtoFDxe45u43DI.run(Unknown Source:12)
E/flutter (13093): at android.os.Handler.handleCallback(Handler.java:938)
E/flutter (13093): at android.os.Handler.dispatchMessage(Handler.java:99)
E/flutter (13093): at android.os.Looper.loopOnce(Looper.java:233)
E/flutter (13093): at android.os.Looper.loop(Looper.java:344)
E/flutter (13093): at android.app.ActivityThread.main(ActivityThread.java:8171)
E/flutter (13093): at java.lang.reflect.Method.invoke(Native Method)
E/flutter (13093): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
E/flutter (13093): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)
E/flutter (13093): )
E/flutter (13093): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
E/flutter (13093): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:167:18)
E/flutter (13093):
E/flutter (13093): #2 TextureAndroidViewController.setSize (package:flutter/src/services/platform_views.dart:1027:5)
E/flutter (13093):
E/flutter (13093): #3 RenderAndroidView._sizePlatformView (package:flutter/src/rendering/platform_view.dart:191:7)
E/flutter (13093):

运行环境:

image
从launcher启动app到back退出的完整日志.log

ios 点播播放器播放视频,监听不到播放进度

super_player:
    git:
      url: https://github.com/tencentyun/SuperPlayer
      path: Flutter
      ref: release_pro_v10.7.0.13053_10.7.11936

superplayer_controller.dart 文件

_vodPlayEventListener = _vodPlayerController.onPlayerEventBroadcast.listen((event)

在ios端没有播放进度的回调,在安卓端就正常

添加后,IOS端报 Framework not found TXFFmpeg

`Launching lib/main.dart on iPhone 12 Pro in debug mode...
Running pod install...
Running Xcode build...
Xcode build done. 10.1s
Failed to build iOS app
Error output from Xcode build:

2022-06-29 20:11:47.676 xcodebuild[6648:361992] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-06-29 20:11:47.676 xcodebuild[6648:361992] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **

Xcode's output:

Writing result bundle at path:
/var/folders/_7/p7q8gh35583fx7nd61462fkm0000gn/T/flutter_tools.Xk77uQ/flutter_ios_build_temp_dirliCnIP/temporary_xcresult_bundle

warning: [CP] TXSoundTouch.xcframework: Unable to find matching slice in 'ios-x86_64-simulator ios-arm64_armv7' for the current build architectures (arm64 x86_64 i386) and platform (-iphonesimulator).
warning: [CP] TXFFmpeg.xcframework: Unable to find matching slice in 'ios-x86_64-simulator ios-arm64_armv7' for the current build architectures (arm64 x86_64 i386) and platform (-iphonesimulator).
While building module 'TXLiteAVSDK_Professional' imported from /Users/chenchun/.pub-cache/git/SuperPlayer-7bc259aa93d008be6f0e17130a4b2f216166a6aa/Flutter/ios/Classes/FTXTransformation.h:3:
In file included from <module-includes>:1:
In file included from /Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:12:
In file included from /Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TRTCCloud.h:10:
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TRTCCloudDelegate.h:255:11: warning: parameter 'extrainfo' not found in the function declaration [-Wdocumentation]
 * @param extrainfo 额外信息
          ^~~~~~~~~
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TRTCCloudDelegate.h:255:11: note: did you mean 'info'?
 * @param extrainfo 额外信息
          ^~~~~~~~~
          info
While building module 'TXLiteAVSDK_Professional' imported from /Users/chenchun/.pub-cache/git/SuperPlayer-7bc259aa93d008be6f0e17130a4b2f216166a6aa/Flutter/ios/Classes/FTXTransformation.h:3:
In file included from <module-includes>:1:
In file included from /Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:19:
In file included from /Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLivePlayer.h:6:
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLivePlayListener.h:13:11: warning: parameter 'EvtID' not found in the function declaration [-Wdocumentation]
 * @param EvtID 参见 TXLiveSDKEventDef.h
          ^~~~~
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLivePlayListener.h:13:11: note: did you mean 'evtID'?
 * @param EvtID 参见 TXLiveSDKEventDef.h
          ^~~~~
          evtID
While building module 'TXLiteAVSDK_Professional' imported from /Users/chenchun/.pub-cache/git/SuperPlayer-7bc259aa93d008be6f0e17130a4b2f216166a6aa/Flutter/ios/Classes/FTXTransformation.h:3:
In file included from <module-includes>:1:
In file included from /Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:38:
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXVodPlayer.h:166:11: warning: parameter 'mode' not found in the function declaration [-Wdocumentation]
 * @param mode 填充(画面可能会被拉伸裁剪)或适应(画面可能会有黑边),默认值:TRTCVideoFillMode_Fit
          ^~~~
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXVodPlayer.h:166:11: note: did you mean 'renderMode'?
 * @param mode 填充(画面可能会被拉伸裁剪)或适应(画面可能会有黑边),默认值:TRTCVideoFillMode_Fit
          ^~~~
          renderMode
While building module 'TXLiteAVSDK_Professional' imported from /Users/chenchun/.pub-cache/git/SuperPlayer-7bc259aa93d008be6f0e17130a4b2f216166a6aa/Flutter/ios/Classes/FTXTransformation.h:3:
In file included from <module-includes>:1:
In file included from /Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:49:
In file included from /Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLivePush.h:21:
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLivePushListener.h:19:11: warning: parameter 'EvtID' not found in the function declaration [-Wdocumentation]
 * @param EvtID 参见 TXLiveSDKEventDef.h
          ^~~~~
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLivePushListener.h:19:11: note: did you mean 'evtID'?
 * @param EvtID 参见 TXLiveSDKEventDef.h
          ^~~~~
          evtID
While building module 'TXLiteAVSDK_Professional' imported from /Users/chenchun/.pub-cache/git/SuperPlayer-7bc259aa93d008be6f0e17130a4b2f216166a6aa/Flutter/ios/Classes/FTXTransformation.h:3:
In file included from <module-includes>:1:
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/ITRTCCloud.h' [-Wincomplete-umbrella]
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/IDeprecatedTRTCCloud.h' [-Wincomplete-umbrella]
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/TRTCCloudCallback.h' [-Wincomplete-umbrella]
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/TRTCTypeDef.h' [-Wincomplete-umbrella]
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/ITRTCStatistics.h' [-Wincomplete-umbrella]
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/TXLiteAVCode.h' [-Wincomplete-umbrella]
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/ITXAudioEffectManager.h' [-Wincomplete-umbrella]
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/ITXDeviceManager.h' [-Wincomplete-umbrella]
12 warnings generated.
12 warnings generated.
12 warnings generated.
While building module 'super_player' imported from /Users/chenchun/StudioProjects/demo/ios/Runner/GeneratedPluginRegistrant.m:10:
While building module 'TXLiteAVSDK_Professional' imported from /Users/chenchun/StudioProjects/demo/build/ios/Debug-iphonesimulator/super_player/super_player.framework/Headers/FTXTransformation.h:3:
In file included from <module-includes>:1:
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/ITRTCCloud.h' [-Wincomplete-umbrella]
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/IDeprecatedTRTCCloud.h' [-Wincomplete-umbrella]
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/TRTCCloudCallback.h' [-Wincomplete-umbrella]
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/TRTCTypeDef.h' [-Wincomplete-umbrella]
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/ITRTCStatistics.h' [-Wincomplete-umbrella]
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/TXLiteAVCode.h' [-Wincomplete-umbrella]
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/ITXAudioEffectManager.h' [-Wincomplete-umbrella]
/Users/chenchun/StudioProjects/demo/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/ITXDeviceManager.h' [-Wincomplete-umbrella]
8 warnings generated.
8 warnings generated.
8 warnings generated.
ld: framework not found TXFFmpeg
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
/Users/chenchun/StudioProjects/demo/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.5.99. (in target 'TXLiteAVSDK_Professional' from project 'Pods')

Result bundle written to path:
	/var/folders/_7/p7q8gh35583fx7nd61462fkm0000gn/T/flutter_tools.Xk77uQ/flutter_ios_build_temp_dirliCnIP/temporary_xcresult_bundle

Error (Xcode): Framework not found TXFFmpeg

Could not build the application for the simulator.
Error launching application on iPhone 12 Pro.
`

1.0.1版本MP4播放

在项目Demo里无法播放网络MP4文件,只有demo里的那个视频链接可以播放

短视频效果上下滑动的时候,封面图不能及时更新,甚至有时候有声音有封面图,无视频画面

短视频效果上下滑动的时候,封面图不能及时更新,甚至有时候有声音有封面图,无视频画面。
你们有没有遇到过?

这是我的资源:
所使用的播放视频以及封面图 如下
List videoDataList = [];

// 视频地址 2
var videoList = [
'test-video-10.MP4',

  // 'test-video-10.MP4',
  // 'test-video-10.MP4',
  // 'test-video-10.MP4',
  // 'test-video-10.MP4',
  // 'test-video-10.MP4',
  // 'test-video-10.MP4',
  // 'test-video-10.MP4',
  // 'test-video-10.MP4',

  'test-video-6.mp4',
  'test-video-9.MP4',
  'test-video-8.MP4',
  'test-video-7.MP4',
  'test-video-1.mp4',
  'test-video-2.mp4',
  'test-video-3.mp4',
  'test-video-4.mp4',
];

List tmp = videoList
    .map((e) {
  SuperPlayerModel mode = SuperPlayerModel();
  mode.title = e;
  mode.customeCoverUrl = "https://cms-bucket.nosdn.127.net/cb37178af1584c1588f4a01e5ecf323120180418133127.jpeg";
  mode.videoURL = 'https://static.ybhospital.net/$e';
  mode.playAction = SuperPlayerModel.PLAY_ACTION_AUTO_PLAY;

  videoModels.add(mode);
  return mode;
}).toList();

for (var element in tmp) {
  videoModels.add(element);
}

flutter doctor 如下
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-arm, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.69.1)
[✓] Connected device (4 available)
[✓] HTTP Host Availability

! Doctor found issues in 1 category.

我的主要代码

return WillPopScope(onWillPop: onWillPop, child: TikTokScaffold(
  controller: tkController,
  hasBottomPadding: hasBackground,
  tabBar: Container(height: 0,),
  header: Container(height: 0,),
  leftPage: null,
  rightPage: null,
  enableGesture: false,
  page: Stack(
    children: <Widget>[
      PageView.builder(
        key: const Key('home'),
        physics: const QuickerScrollPhysics(),
        controller: _pageController,
        scrollDirection: Axis.vertical,
        itemCount: videoDataList.length,
        itemBuilder: (context, i)  {
          // 拼一个视频组件出来
          bool isF = SafeMap(favoriteMap)[i].boolean;
          _controller.playWithModel(videoDataList[i]);
          return Container(
            decoration: const BoxDecoration(color: Colors.black),
            height: _controller.videoHeight, //MediaQuery.of(context).size.height,
            width: _controller.videoWidth,
            child: SuperPlayerView(_controller),
          );
        },
      ),
      currentPage ?? Container(),
      Positioned(top:MediaQuery.of(context).padding.top,left: 10, child: GestureDetector(child: Container(width: 50,height: 50,color: Colors.transparent,child: Icon(
        Icons.arrow_back_ios_new,
        size: 24,
        color: Colors.white.withOpacity(0.85),
      )),onTap: ()=> Navigator.of(context).pop(),)),
    ],
  ),
));}Future<bool> onWillPop() async {
return !_controller.onBackPress();}

主要就是用了 PageView 做上下滑动的实现,视频数据源数组控制了 PageView 的可滑动屏个数,滑动后在 PageView.builder 的itemBuilder 下进行了切换播放器资源

播放器的状态监听

_controller.onPlayerState.listen 这个监听,从暂停状态到播放状态,不会执行,从播放状态到暂停状态会执行。

example运行错误

模拟器中运行 example。直接报错,log如下:
flutter 3.0.4 模拟器 :ios iphone13 pro IOS 15.5

Failed to build iOS app
Error output from Xcode build:

2022-07-11 15:25:12.807 xcodebuild[82403:672423] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-07-11 15:25:12.808 xcodebuild[82403:672423] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **
Xcode's output:

Writing result bundle at path:
/var/folders/_b/1m3k2dz962b2ftz34m4xtyhm0000gn/T/flutter_tools.BR8YCN/flutter_ios_build_temp_dirJshd8W/temporary_xcresult_bundle
warning: [CP] TXSoundTouch.xcframework: Unable to find matching slice in 'ios-x86_64-simulator ios-arm64_armv7' for the current build architectures (arm64 x86_64 i386) and platform (-iphonesimulator).
warning: [CP] TXFFmpeg.xcframework: Unable to find matching slice in 'ios-x86_64-simulator ios-arm64_armv7' for the current build architectures (arm64 x86_64 i386) and platform (-iphonesimulator).
While building module 'TXLiteAVSDK_Professional' imported from /Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/ios/Classes/FTXTransformation.h:3:
In file included from :1:
In file included from /Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:13:
In file included from /Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TRTCCloud.h:10:
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TRTCCloudDelegate.h:255:11: warning: parameter 'extrainfo' not found in the function declaration [-Wdocumentation]
* @param extrainfo 额外信息
^~~~~~~~~
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TRTCCloudDelegate.h:255:11: note: did you mean 'info'?
* @param extrainfo 额外信息
^~~~~~~~~
info
While building module 'TXLiteAVSDK_Professional' imported from /Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/ios/Classes/FTXTransformation.h:3:
In file included from :1:
In file included from /Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:20:
In file included from /Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLivePlayer.h:6:
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLivePlayListener.h:13:11: warning: parameter 'EvtID' not found in the function declaration [-Wdocumentation]
* @param EvtID 参见 TXLiveSDKEventDef.h
^~~~~
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLivePlayListener.h:13:11: note: did you mean 'evtID'?
* @param EvtID 参见 TXLiveSDKEventDef.h
^~~~~
evtID
While building module 'TXLiteAVSDK_Professional' imported from /Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/ios/Classes/FTXTransformation.h:3:
In file included from :1:
In file included from /Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:38:
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXVodPlayer.h:166:11: warning: parameter 'mode' not found in the function declaration [-Wdocumentation]
* @param mode 填充(画面可能会被拉伸裁剪)或适应(画面可能会有黑边),默认值:TRTCVideoFillMode_Fit
^~~~
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXVodPlayer.h:166:11: note: did you mean 'renderMode'?
* @param mode 填充(画面可能会被拉伸裁剪)或适应(画面可能会有黑边),默认值:TRTCVideoFillMode_Fit
^~~~
renderMode
While building module 'TXLiteAVSDK_Professional' imported from /Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/ios/Classes/FTXTransformation.h:3:
In file included from :1:
In file included from /Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:49:
In file included from /Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLivePush.h:21:
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLivePushListener.h:19:11: warning: parameter 'EvtID' not found in the function declaration [-Wdocumentation]
* @param EvtID 参见 TXLiveSDKEventDef.h
^~~~~
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLivePushListener.h:19:11: note: did you mean 'evtID'?
* @param EvtID 参见 TXLiveSDKEventDef.h
^~~~~
evtID
While building module 'TXLiteAVSDK_Professional' imported from /Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/ios/Classes/FTXTransformation.h:3:
In file included from :1:
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/ITRTCCloud.h' [-Wincomplete-umbrella]
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/IDeprecatedTRTCCloud.h' [-Wincomplete-umbrella]
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/TRTCCloudCallback.h' [-Wincomplete-umbrella]
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/TRTCTypeDef.h' [-Wincomplete-umbrella]
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/ITRTCStatistics.h' [-Wincomplete-umbrella]
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/TXLiteAVCode.h' [-Wincomplete-umbrella]
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/ITXAudioEffectManager.h' [-Wincomplete-umbrella]
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/ITXDeviceManager.h' [-Wincomplete-umbrella]
12 warnings generated.
12 warnings generated.
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/ios/Classes/FTXVodPlayer.m:20:17: warning: class 'FTXVodPlayer' does not conform to protocol 'TXVodPlayListener' [-Wprotocol]
@implementation FTXVodPlayer {
^
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/ios/Classes/FTXVodPlayer.m:20:17: note: add stubs for missing protocol requirements
@implementation FTXVodPlayer {
^
1 warning generated.
12 warnings generated.
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/ios/Classes/FTXVodPlayer.m:20:17: warning: class 'FTXVodPlayer' does not conform to protocol 'TXVodPlayListener' [-Wprotocol]
@implementation FTXVodPlayer {
^
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/ios/Classes/FTXVodPlayer.m:20:17: note: add stubs for missing protocol requirements
@implementation FTXVodPlayer {
^
1 warning generated.
While building module 'super_player' imported from /Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Runner/GeneratedPluginRegistrant.m:16:
While building module 'TXLiteAVSDK_Professional' imported from /Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/Headers/Public/super_player/FTXTransformation.h:3:
In file included from :1:
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/ITRTCCloud.h' [-Wincomplete-umbrella]
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/IDeprecatedTRTCCloud.h' [-Wincomplete-umbrella]
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/TRTCCloudCallback.h' [-Wincomplete-umbrella]
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/TRTCTypeDef.h' [-Wincomplete-umbrella]
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/ITRTCStatistics.h' [-Wincomplete-umbrella]
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/TXLiteAVCode.h' [-Wincomplete-umbrella]
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/ITXAudioEffectManager.h' [-Wincomplete-umbrella]
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/Headers/TXLiteAVSDK.h:61:1: warning: umbrella header for module 'TXLiteAVSDK_Professional' does not include header '/cpp_interface/ITXDeviceManager.h' [-Wincomplete-umbrella]
8 warnings generated.
8 warnings generated.
8 warnings generated.
ld: framework not found TXFFmpeg
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
note: Removed stale file '/Users/lhh/Library/Developer/Xcode/DerivedData/Runner-druvrshaldyykvftxlymjxaojrup/Build/Products/Debug-iphonesimulator/Runner.app'
note: Removed stale file '/Users/lhh/Library/Developer/Xcode/DerivedData/Runner-druvrshaldyykvftxlymjxaojrup/Build/Products/Debug-iphonesimulator/libPods-Runner.a'
/Users/lhh/Documents/develop/ws_flutter/Player_Flutter/Flutter/example/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.5.99. (in target 'TXLiteAVSDK_Professional' from project 'Pods')
note: Removed stale file '/Users/lhh/Library/Developer/Xcode/DerivedData/Runner-druvrshaldyykvftxlymjxaojrup/Build/Products/Debug-iphonesimulator/auto_orientation/libauto_orientation.a'
note: Removed stale file '/Users/lhh/Library/Developer/Xcode/DerivedData/Runner-druvrshaldyykvftxlymjxaojrup/Build/Products/Debug-iphonesimulator/super_player/libsuper_player.a'
Result bundle written to path:
/var/folders/_b/1m3k2dz962b2ftz34m4xtyhm0000gn/T/flutter_tools.BR8YCN/flutter_ios_build_temp_dirJshd8W/temporary_xcresult_bundle
Error (Xcode): Framework not found TXFFmpeg

Could not build the application for the simulator.
Error launching application on iPhone 13 Pro.
Exited

短视频内存不回收

我的应用集成这个sdk后,短视频播放多了会内存溢出。
使用demo播放短视频发现也有这个问题,看完视频,返回上一级页面,内存不下降,视频看多了内存会一直增加。

Flutter pub get 无法拉取

pub get 无法拉取

image

pubspec.yaml

super_player:
git:
url: https://github.com/LiteAVSDK/Player_Flutter
path: Flutter

Git error. Command: git rev-list --max-count=1 HEAD
stdout:
stderr: usage: git rev-list [] ... [-- ...]
limiting output:
--max-count=
--max-age=
--min-age=
--sparse
--no-merges
--min-parents=
--no-min-parents
--max-parents=
--no-max-parents
--remove-empty
--all
--branches
--tags
--remotes
--stdin
--quiet
ordering output:
--topo-order
--date-order
--reverse
formatting output:
--parents
--children
--objects | --objects-edge
--unpacked
--header | --pretty
--[no-]object-names
--abbrev= | --no-abbrev
--abbrev-commit
--left-right
--count
special purpose:
--bisect
--bisect-vars
--bisect-all
exit code: 129
pub finished with exit code 69
Process finished with exit code 69

#36014 java.lang.NullPointerException Attempt to invoke virtual method 'android.content.Context io.flutter.embedding.engine.plugins.FlutterPlugin$FlutterPluginBinding.getApplicationContext()' on a null object reference com.tencent.vod.flutter.SuperPlayerPlugin.isAutoRotateOn(SuperPlayerPlugin.java:282)

#36014 java.lang.NullPointerException
Attempt to invoke virtual method 'android.content.Context io.flutter.embedding.engine.plugins.FlutterPlugin$FlutterPluginBinding.getApplicationContext()' on a null object reference

com.tencent.vod.flutter.SuperPlayerPlugin.isAutoRotateOn(SuperPlayerPlugin.java:282)

1
com.tencent.vod.flutter.SuperPlayerPlugin.isAutoRotateOn(SuperPlayerPlugin.java:286)
2
com.tencent.vod.flutter.SuperPlayerPlugin$3.onOrientationChanged(SuperPlayerPlugin.java:102)
3
android.view.OrientationEventListener$SensorEventListenerImpl.onSensorChanged(OrientationEventListener.java:166)
4
android.hardware.SystemSensorManager$SensorEventQueue.dispatchSensorEvent(SystemSensorManager.java:927)
5
android.os.MessageQueue.nativePollOnce(Native Method)
6
android.os.MessageQueue.next(MessageQueue.java:374)
7
android.os.Looper.loop(Looper.java:185)
8
android.app.ActivityThread.main(ActivityThread.java:9105)
9
java.lang.reflect.Method.invoke(Native Method)
10
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:614)
11
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1129)

安卓按照提示添加 tools:replace="android:label 报错

Execution failed for task ':app:generateDebugBuildConfig'.

Error while evaluating property 'namespace' of task ':app:generateDebugBuildConfig'
Failed to calculate the value of task ':app:generateDebugBuildConfig' property 'namespace'.
> Failed to calculate the value of property 'namespace'.

部分视频出现花屏

iOS 版本接入过程中发现部分视频出现花屏,尝试在onPlayerPixelBuffer回调中将CVPixelBufferRef转为图片就已经花屏了,但在原生 sdk demo代码中视频正常。是否有解决方案?因为视频涉及版本问题,不好把链接发出来。
Screen Shot 2021-11-17 at 10 08 39

关于视频播放

你好,请问一下是否只能播放腾讯云上的视频。是不是必须注册腾讯云。是否支持 flutter 3.0?

空安全异常

local env
environment:
sdk: ">=2.14.0 <3.0.0"

log:
XXX:1:1: Error: A library can't opt out of null safety by default, when using sound null safety.
// @Dart = 2.7
^^^^^^^^^^^^^^
...

import com.tencent.rtmp.TXLog;错误: 找不到符号

android\superplayerkit\src\main\java\com\tencent\liteav\demo\superplayer\model\utils\NetWatcher.java:12: 错误: 找不到符号

之前运行项目是可以的,突然说是找不到TXLog,是什么原因呢

微信截图_20220601103248

用不了

image

这个东西就不能直接集成到包里吗?直接用复制问题太多了

iOS无法缓存视频

设置缓存视频大小和目录,缓存目录大小一直为0
手机iPhone 13 pro max,系统16.0

Transform's input file does not exist

//此处仅处理因插件项目内报红显示的处理方式
compileOnly files("$flutterRoot/bin/cache/artifacts/engine/android-arm/flutter.jar")
这句代码会导致下面的错误

  • What went wrong:
    Execution failed for task ':super_player:compileReleaseJavaWithJavac'.

Could not resolve all files for configuration ':super_player:releaseCompileClasspath'.
Failed to transform flutter.jar to match attributes {artifactType=android-classes-jar, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for JetifyTransform: /Users/apple/fvm/versions/2.10.3/bin/cache/artifacts/engine/android-arm/flutter.jar.
> Transform's input file does not exist: /Users/apple/fvm/versions/2.10.3/bin/cache/artifacts/engine/android-arm/flutter.jar.

pod install error

[!] CDN: trunk Repo update failed - 65 error(s):
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/1.0.2/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/1.0.3/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/1.0.4/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/1.1.0/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/1.2.0/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.0.0/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.0.1/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.0.2/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.1.0/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.1.1/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.1.2/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.1.3/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.1.5/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.2.0/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.2.1/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.2.2/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.2.3/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.2.4/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.3.1/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.3.2/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.3.3/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.3.4/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/2.4.0/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.0.0/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.0.1/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.0.2/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.1.0/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.1.1/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.1.2/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.1.3/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.1.4/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.1.5/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.1.6/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.1.7/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.2.0/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.2.1/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.2.2/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.2.3/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.2.4/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.2.5/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.2.7/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.2.9/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.3.0/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.3.1/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.3.2/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.3.3/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.3.4/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.3.5/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.3.6/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.3.7/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.3.8/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.3.9/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.4.0/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.4.1/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.4.2/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.4.3/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.4.4/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.4.5/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.4.6/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.4.7/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.4.8/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.4.9/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.5.0/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.5.1/SuperPlayer.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/8/d/SuperPlayer/3.5.2/SuperPlayer.podspec.json Response: Timeout was reached

华为手机播放闪屏白屏

如题,环境如下:
Flutter SDK:3.3.9
LiteAVSDK:release_pro_1.0.7
Phone:华为P30 pro,华为Mate 30Pro 等华为手机均出现闪屏、白屏等

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.