Open muranski opened 9 months ago
Can you check to see if you have this exception in your log on the join device?
Unhandled Exception: Unable to RTCPeerConnection::setRemoteDescription: peerConnectionSetRemoteDescription(): WEBRTC_SET_REMOTE_DESCRIPTION_ERROR: Failed to set remote answer sdp: Called in wrong state: stable
I got this exception when I updated the flutter_webrtc plugin to the latest version. Using the default version in the repository gave me a Camera exception instead, so it seem to be related to the plugin
Thank you for the excellent code and detailed instructions for the Flutter-WebRTC video chat application. I successfully executed the app on two different phones. However, I am only able to see the video feed from the local camera on each device, and the video feed from the remote camera does not appear.
Here is the log from the second device, after I pressed "Open camera and Join room" with a room id to which the first device is already connected:
Please also see the attached screenshot: