Closed itsdani121 closed 2 weeks ago
@itsdani121 Should be solved with the latest release
Latest release give analysis issues kindly check it
@itsdani121 pub.dev was evaluating the package. You should be able to use it now :)
But on pub latest version it says rtc connection error
Can you share the logs
@Meherdeep I have agora_uikit: 1.3.7 and this is still an issue
What happens is that another user joins the call and it's all fine, their view floats in the upper part of the screen. However, when the user taps on their 📌 icon, the error is thrown. Here are some images to illustrate:
These are my logs during the call:
The following assertion was thrown building:
Remote uid can not be null or 0
'package:agora_rtc_engine/src/render/video_view_controller.dart':
video_view_controller.dart:1
Failed assertion: line 81 pos 16: 'canvas.uid != null && canvas.uid != 0'
When the exception was thrown, this was the stack
#2 new VideoViewController.remote
video_view_controller.dart:81
#3 _FloatingLayoutState._getRemoteViews
floating_layout.dart:88
#4 _FloatingLayoutState._viewFloat.<anonymous closure>
floating_layout.dart:337
#5 SliverChildBuilderDelegate.build
scroll_delegate.dart:489
#6 SliverMultiBoxAdaptorElement._build
sliver.dart:828
#7 SliverMultiBoxAdaptorElement.performRebuild.processElement
sliver.dart:758
#8 Iterable.forEach (dart:core/iterable.dart:346:35)
#9 SliverMultiBoxAdaptorElement.performRebuild
sliver.dart:805
#10 SliverMultiBoxAdaptorElement.update
sliver.dart:734
#11 Element.updateChild
framework.dart:3686
#12 ComponentElement.performRebuild
framework.dart:5111
#13 Element.rebuild
framework.dart:4805
#14 ProxyElement.update
framework.dart:5417
#15 Element.updateChild
framework.dart:3686
#16 SingleChildRenderObjectElement.update
framework.dart:6442
#17 Element.updateChild
framework.dart:3686
#18 RenderObjectElement.updateChildren
framework.dart:6093
#19 MultiChildRenderObjectElement.update
framework.dart:6595
#20 _ViewportElement.update
viewport.dart:236
#21 Element.updateChild
framework.dart:3686
#22 SingleChildRenderObjectElement.update
framework.dart:6442
#23 Element.updateChild
framework.dart:3686
#24 SingleChildRenderObjectElement.update
framework.dart:6442
#25 Element.updateChild
framework.dart:3686
#26 SingleChildRenderObjectElement.update
framework.dart:6442
#27 Element.updateChild
framework.dart:3686
#28 SingleChildRenderObjectElement.update
framework.dart:6442
#29 Element.updateChild
framework.dart:3686
#30 ComponentElement.performRebuild
framework.dart:5111
#31 StatefulElement.performRebuild
framework.dart:5251
#32 Element.rebuild
framework.dart:4805
#33 StatefulElement.update
framework.dart:5274
#34 Element.updateChild
framework.dart:3686
#35 SingleChildRenderObjectElement.update
framework.dart:6442
#36 Element.updateChild
framework.dart:3686
#37 ComponentElement.performRebuild
framework.dart:5111
#38 Element.rebuild
framework.dart:4805
#39 ProxyElement.update
framework.dart:5417
#40 Element.updateChild
framework.dart:3686
#41 SingleChildRenderObjectElement.update
framework.dart:6442
#42 Element.updateChild
framework.dart:3686
#43 ComponentElement.performRebuild
framework.dart:5111
#44 Element.rebuild
framework.dart:4805
#45 ProxyElement.update
framework.dart:5417
#46 Element.updateChild
framework.dart:3686
#47 SingleChildRenderObjectElement.update
framework.dart:6442
#48 Element.updateChild
framework.dart:3686
#49 SingleChildRenderObjectElement.update
framework.dart:6442
#50 Element.updateChild
framework.dart:3686
#51 SingleChildRenderObjectElement.update
framework.dart:6442
#52 Element.updateChild
framework.dart:3686
#53 ComponentElement.performRebuild
framework.dart:5111
#54 Element.rebuild
framework.dart:4805
#55 ProxyElement.update
framework.dart:5417
#56 Element.updateChild
framework.dart:3686
#57 ComponentElement.performRebuild
framework.dart:5111
#58 StatefulElement.performRebuild
framework.dart:5251
#59 Element.rebuild
framework.dart:4805
#60 StatefulElement.update
framework.dart:5274
#61 Element.updateChild
framework.dart:3686
#62 ComponentElement.performRebuild
framework.dart:5111
#63 StatefulElement.performRebuild
framework.dart:5251
#64 Element.rebuild
framework.dart:4805
#65 StatefulElement.update
framework.dart:5274
#66 Element.updateChild
framework.dart:3686
#67 ComponentElement.performRebuild
framework.dart:5111
#68 Element.rebuild
framework.dart:4805
#69 StatelessElement.update
framework.dart:5162
#70 Element.updateChild
framework.dart:3686
#71 SingleChildRenderObjectElement.update
framework.dart:6442
#72 Element.updateChild
framework.dart:3686
#73 SingleChildRenderObjectElement.update
framework.dart:6442
#74 Element.updateChild
framework.dart:3686
#75 ComponentElement.performRebuild
framework.dart:5111
#76 Element.rebuild
framework.dart:4805
#77 StatelessElement.update
framework.dart:5162
#78 Element.updateChild
framework.dart:3686
#79 RenderObjectElement.updateChildren
framework.dart:6093
#80 MultiChildRenderObjectElement.update
framework.dart:6595
#81 Element.updateChild
framework.dart:3686
#82 RenderObjectElement.updateChildren
framework.dart:6093
#83 MultiChildRenderObjectElement.update
framework.dart:6595
#84 Element.updateChild
framework.dart:3686
#85 SingleChildRenderObjectElement.update
framework.dart:6442
#86 Element.updateChild
framework.dart:3686
#87 ComponentElement.performRebuild
framework.dart:5111
#88 StatefulElement.performRebuild
framework.dart:5251
#89 Element.rebuild
framework.dart:4805
#90 StatefulElement.update
framework.dart:5274
#91 Element.updateChild
framework.dart:3686
#92 ComponentElement.performRebuild
framework.dart:5111
#93 StatefulElement.performRebuild
framework.dart:5251
#94 Element.rebuild
framework.dart:4805
#95 StatefulElement.update
framework.dart:5274
#96 Element.updateChild
framework.dart:3686
#97 SingleChildRenderObjectElement.update
framework.dart:6442
#98 Element.updateChild
framework.dart:3686
#99 SingleChildRenderObjectElement.update
framework.dart:6442
#100 Element.updateChild
framework.dart:3686
#101 ComponentElement.performRebuild
framework.dart:5111
#102 StatefulElement.performRebuild
framework.dart:5251
#103 Element.rebuild
framework.dart:4805
#104 StatefulElement.update
framework.dart:5274
#105 Element.updateChild
framework.dart:3686
#106 ComponentElement.performRebuild
framework.dart:5111
#107 Element.rebuild
framework.dart:4805
#108 StatelessElement.update
framework.dart:5162
#109 Element.updateChild
framework.dart:3686
#110 ComponentElement.performRebuild
framework.dart:5111
#111 StatefulElement.performRebuild
framework.dart:5251
#112 Element.rebuild
framework.dart:4805
#113 BuildOwner.buildScope
framework.dart:2780
#114 WidgetsBinding.drawFrame
binding.dart:903
#115 RendererBinding._handlePersistentFrameCallback
binding.dart:358
#116 SchedulerBinding._invokeFrameCallback
binding.dart:1284
#117 SchedulerBinding.handleDrawFrame
binding.dart:1214
#118 SchedulerBinding._handleDrawFrame
binding.dart:1072
#119 _invoke (dart:ui/hooks.dart:142:13)
#120 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:359:5)
#121 _drawFrame (dart:ui/hooks.dart:112:31)
(elided 2 frames from class _AssertionError)
Is this error fixed? Has anyone found a solution?
No, the error still persists and the team are ignorant about it.
Describe the bug
When i am testing the app and when other user join channel after fiew seconds it happens when new user join then old user got this error.
package:agora_rtc_engine/src/render/video_view_controller.dart: Failed assertion: line 75 pos 16 canvas.uid!=null && canvas.uid!=0 , remote uid cannot be null or 0 "
i don't know why this happens
here is my code
"Another thing is when i run this app almost 10-15min my device heatup very high i dont know why this happens any idea to cooldown for long video call so i can use this or share example about this issue which i am facing.." my version is