WebRTC ICE candidates

20 views
Skip to first unread message

Cinder Roxley

unread,
Jun 26, 2025, 8:05:00 PMJun 26
to opensource-dev
Greetz,

I am developing a WebRTC voice client for the LibreMetaverse project. So far, I am able to negotiate and make a connection. However, when I am gathering ICE candidates from the signaling server, it seems to be sending me invalid ICE candidate strings.
The port provided is 0 which is not valid in a message as it’s an ephemeral port.

18:30:03,762 [5] DEBUG: ICE connection state changed to checking.
18:30:03,764 [5] WARN: Error adding ICE candidate. Remote ICE candidate had an invalid port 0. 
2 1 udp 1015021823 35.88.185.253 0 typ host generation 0
18:30:03,765 [5] WARN: Error adding ICE candidate. Remote ICE candidate had an invalid port 0. 
5 1 udp 1015022079 35.88.185.253 0 typ host generation 0
18:30:03,766 [5] DEBUG: Signaling state changed to stable

Am I missing something here?

Roxanne Skelly

unread,
Jun 27, 2025, 10:58:55 AMJun 27
to opensource-dev, Cinder Roxley
Hi Cinder,
Go ahead and send me the SDP you're generating, and let me know which ice servers you're sending in to webrtc when configuring the connection.  I'll take a look.

-Roxie Linden

Reply all
Reply to author
Forward
0 new messages