Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法同时与super_player使用 #55

Open
HongZhiQing opened this issue Aug 19, 2022 · 11 comments
Open

无法同时与super_player使用 #55

HongZhiQing opened this issue Aug 19, 2022 · 11 comments

Comments

@HongZhiQing
Copy link

错误如下:
iShot_2022-08-19_17 07 07

@c1avie
Copy link
Collaborator

c1avie commented Aug 22, 2022

tencent_trtc_cloud和super_player都依赖的哪个版本

@HongZhiQing
Copy link
Author

tencent_trtc_cloud和super_player都依赖的哪个版本

依赖的tim_ui_kit_calling_plugin里是v2.2.4, super_player是Professional版

@c1avie
Copy link
Collaborator

c1avie commented Aug 22, 2022

这样依赖是可以使用的
tencent_trtc_cloud: 2.3.4

super_player:
git:
url: https://github.com/tencentyun/SuperPlayer
path: Flutter
ref: release_pro_v1.0.3

@c1avie
Copy link
Collaborator

c1avie commented Aug 22, 2022

你要用tim_ui_kit_calling_plugin?是一对一通话场景吗

@HongZhiQing
Copy link
Author

你要用tim_ui_kit_calling_plugin?是一对一通话场景吗

是的,tim_ui_kit_calling_plugin里的tencent_trtc_cloud版本太低所导致的

@c1avie
Copy link
Collaborator

c1avie commented Aug 22, 2022

可能要到下周去升级下版本

@HongZhiQing
Copy link
Author

可能要到下周去升级下版本

ok,升级好了再close通知一下

@lan2000
Copy link

lan2000 commented Oct 18, 2022

什么时候再升级TXLiteAVSDK_Professional,我看播放器已经到1.0.6了

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

@lan2000
Copy link

lan2000 commented Oct 18, 2022

这样依赖是可以使用的 tencent_trtc_cloud: 2.3.4

super_player: git: url: https://github.com/tencentyun/SuperPlayer path: Flutter ref: release_pro_v1.0.3

使用TXLivePlayerController 播放直播流地址

这个1.0.3版本,在安卓端,有报错。

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

播放直播流报错日志:


I/flutter (26331): NoSuchMethodError: The method 'toDouble' was called on null.
I/flutter (26331): Receiver: null
I/flutter (26331): Tried calling: toDouble()

I/flutter (26331): #0      Object.noSuchMethod (dart:core-patch/object_patch.dart:38:5)
I/flutter (26331): #1      TXLivePlayerController._eventHandler (package:super_player/Core/txliveplayer_controller.dart:83:52)
I/flutter (26331): #2      _rootRunUnary (dart:async/zone.dart:1399:47)
I/flutter (26331): #3      _CustomZone.runUnary (dart:async/zone.dart:1300:19)
I/flutter (26331): #4      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1209:7)
I/flutter (26331): #5      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
I/flutter (26331): #6      _DelayedData.perform (dart:async/stream_impl.dart:515:14)
I/flutter (26331): #7      _PendingEvents.handleNext (dart:async/stream_impl.dart:620:11)
I/flutter (26331): #8      _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:591:7)
I/flutter (26331): #9      _rootRun (dart:async/zone.dart:1383:47)
I/flutter (26331): #10     _CustomZone.run (dart:async/zone.dart:1293:19)
I/flutter (26331): #11     _CustomZone.runGuarded (dart:async/zone.dart:1201:7)
I/flutter (26331): #12     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1241:23)
I/flutter (26331): #13     _rootRun (dart:async/zone.dart:1391:13)
I/flutter (26331): #14     _CustomZone.run (dart:async/zone.dart:1293:19)
I/flutter (26331): #15     _CustomZone.runGuarded (dart:async/zone.dart:1201:7)
I/flutter (26331): #16     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.da

@c1avie
Copy link
Collaborator

c1avie commented Oct 18, 2022

这个错误你要找Player_Flutter那边的开发人员看一下

@lan2000
Copy link

lan2000 commented Oct 18, 2022

这个错误你要找Player_Flutter那边的开发人员看一下

这问题在Player_Flutter 1.0.3 以后版本已经修复,但是tencent_trtc_cloud 和Player_Flutter 一起用的话,只能用Player_Flutter 1.0.3版本,所以tencent_trtc_cloud 什么时候升级TXLiteAVSDK_Professional,以便可以使用更新版本的Player_Flutter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants