Error when disposing the video.
Unhandled Exception: type 'RTCVideoPlatformViewController' is not a subtype of type 'RTCVideoRenderer?' in type cast
#0 _VideoTrackRendererState._attach.<anonymous closure>.<anonymous closure> (package:livekit_client/src/widgets/video_track_renderer.dart:195:37)
#1 State.setState (package:flutter/src/widgets/framework.dart:1199:30)
#2 _VideoTrackRendererState._attach.<anonymous closure> (package:livekit_client/src/widgets/video_track_renderer.dart:194:9)
#3 RTCVideoPlatformViewController.eventListener (package:flutter_webrtc/src/native/rtc_video_platform_view_controller.dart:133:19)
#4 _RootZone.runUnaryGuarded (dart:async/zone.dart:891:10)
#5 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381:11)
#6 _DelayedData.perform (dart:async/stream_impl.dart:573:14)
#7 _PendingEvents.handleNext (dart:async/stream_impl.dart:678:11)
#8 _PendingEvents.schedule.<anonymous closure> (dart:async/strea<…>
No error thrown.
Describe the bug
Error when disposing the video.
Expected behavior
No error thrown.
Platform information