webrtc-native icon indicating copy to clipboard operation
webrtc-native copied to clipboard

[Linux] STUN message send failed warning, errno=101

Open drwhut opened this issue 1 year ago • 0 comments

Godot version

3.6.stable

Plugin version

1.0.6

System information

Linux Mint 22

Issue description

When establishing a WebRTC connection between clients, if the system is using Linux, then the library produces these two warnings consistently:

W 0:00:32.778   LogCallback: rtc::impl::IceTransport::LogCallback@363: juice: Send failed, errno=101
  <C++ Source>  src/WebRTCLibPeerConnection.cpp:54 @ LogCallback()
W 0:00:32.778   LogCallback: rtc::impl::IceTransport::LogCallback@363: juice: STUN message send failed
  <C++ Source>  src/WebRTCLibPeerConnection.cpp:54 @ LogCallback()

This only occurs on Linux. I have tried the same code on macOS, and the warnings do not appear there.

Steps to reproduce

  1. Download the webrtc_signalling demo.
  2. Download the WebRTC plugin, and place it within the demo folder.
  3. Open the demo in Godot, and run it.
  4. Make sure "Listen" is pressed in the top-left corner.
  5. In the top-left client, press "Start" to create a room.
  6. In the top-right client, copy and paste the "secret", then press "Start".
  7. The two clients should connect to one another, but the warning should appear on Linux systems.

Minimal reproduction project

This issue can be seen in the official webrtc_signalling demo: webrtc_signaling.zip

drwhut avatar Sep 18 '24 20:09 drwhut