liteavsdk / player_flutter Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://trtc.io/
Home Page: https://trtc.io/
如果一直新开点播页面,会内存会一直涨,最终导致白屏
/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
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):
运行环境:
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端没有播放进度的回调,在安卓端就正常
`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.
`
请问这个播放器能实现ios端后台播放视频吗?看不到画面,起码能听到播放的声音。能实现吗?
文件引入了superplayer,
import 'package:super_player/super_player.dart';
但是使用的时候没有找到:Undefined class 'SuperPlayerController'.
在项目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 下进行了切换播放器资源
Flutter 版本: 2.5.3
播放器引入:
super_player:
git:
url: https://github.com/LiteAVSDK/Player_Flutter
path: Flutter
Podfile文件:
报错信息:
调用stop()方法,不清屏。。。
按照文档集成,运行报错,提示:
`Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:
如题,没有找到相关方法。原生SDK是有功能的。
_controller.onPlayerState.listen 这个监听,从暂停状态到播放状态,不会执行,从播放状态到暂停状态会执行。
模拟器中运行 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
真机运行示例代码同样开启失败, 错误代码-108
xcode14
ios 15.6
我的应用集成这个sdk后,短视频播放多了会内存溢出。
使用demo播放短视频发现也有这个问题,看完视频,返回上一级页面,内存不下降,视频看多了内存会一直增加。
FTXVodPlayer :
...
else if([@"play" isEqualToString:call.method]){
NSString *url = args[@"url"];
int r = [self startPlay:url]; //Thread 1: EXC_BAD_ACCESS (code=257, address=0x1)
result(@(r));
}
...
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)
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)
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'.
Android第一次进入播放布局不能填充满,2边会有间距,然后退出再进又好了
// 自动模式
_controller.setLiveMode(TXPlayerLiveMode.Automatic);
// 极速模式
_controller.setLiveMode(TXPlayerLiveMode.Speed);
// 流畅模式
_controller.setLiveMode(TXPlayerLiveMode.Smooth);
// 设置完成之后再启动播放
如果我想更换UI的话,请问要如何处理?
估计网络有问题, 更新不了 pubspec.yaml ,麻烦放到pub里.
super_player:
git:
url: https://github.com/tencentyun/SuperPlayer
path: Flutter
hehe
支持加headers吗
你好,请问一下是否只能播放腾讯云上的视频。是不是必须注册腾讯云。是否支持 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
^^^^^^^^^^^^^^
...
1、onPlayerState播放错误时没有回调,一直显示buffering,http://a.a/a.mp4
2、iOS真机不能播放本地服务地址,http://127.0.0.1:8081,在安卓和iOS模拟器上能正常播放
设置缓存视频大小和目录,缓存目录大小一直为0
手机iPhone 13 pro max,系统16.0
//此处仅处理因插件项目内报红显示的处理方式
compileOnly files("$flutterRoot/bin/cache/artifacts/engine/android-arm/flutter.jar")
这句代码会导致下面的错误
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.
[!] Error installing TXLiteAVSDK_Player
[!] /usr/bin/curl -f -L -o /var/folders/c5/chs7fvl52p947wp8htqzxjh40000gn/T/d20210717-86915-oqa2ds/file.zip https://liteav.sdk.qcloud.com/download/releases/8.9/TXLiteAVSDK_Player_iOS_8.9.10361.zip --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.10.1 cocoapods-downloader/1.4.0'
如支持null
缺少TXVodPreloadManager.h文件
[!] 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 等华为手机均出现闪屏、白屏等
真机运行没有问题 ios模拟器报错
我直接clone下来,执行了Pub get后,没有改动代码,但是无法编译,参考了这篇文章:https://blog.csdn.net/MrLizuo/article/details/127635511
将FlatButton更改为TextButton后,编译成功,打开app后直播、点播、短视频均无法播放,一直加载中。
请问是更改了TextButton导致的吗?
我的环境:Flutter 3.3.0 ,Tools • Dart 2.18.0
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.