ionorg / ion-app-flutter

ion flutter app
MIT License
107 stars 49 forks source link

Flutter Web Unexpected Null Error on RTCVideoRenderer stream. #38

Open wms2537 opened 3 years ago

wms2537 commented 3 years ago

Your environment.

What did you do?

Run the ion app on flutter web. The app is working when I run it on macos and mobile devices. It crashes when I use web. This problem only appears when a second device join the room, and the error only occurs in flutter web.

Probably related to flutter-webrtc/flutter-webrtc#622

TepKeven commented 2 years ago

The issue seems to be related to the HTML Video tag when using RTCVideoView Widget. For me before i had two RTCVideoView widget for my local and remote stream in which the application failed to distinguish which video tag to use for my remote stream, but after removing a RTCVideoView (local stream one) the remote stream seems to be working now since the application was able to find the only existing video tag in HTML view. However, it is better to update to recent version, seems like the issue has been fixed in latest versions.