TURN Server is not receiving any UDP packets instead Only STUN protocol i am seeing in Wireshark and not UDP packets

193 views
Skip to first unread message

Venkatesh Allamkam

unread,
Dec 28, 2015, 3:30:05 AM12/28/15
to TURN Server (Open-Source project)

Hi Experts,

                   Good noon all.. I am trying to build webrtc video chat solution using TURN server. I have configured my clients to connect to TURN server and opened all required ports in firewall to communicate interal from outside..

My turn configuration is: 
var ICE_config= {
 'iceServers': [    
   {
     'urls': 'turn:192.168.0.108:3478',
     'credential': 'avaya',
     'username': 'venkatesh'
   }    
 ]
};

peerConn = new webkitRTCPeerConnection(ICE_config);
      peerConn.onicecandidate = onIceCandidate;

I have my own TURN server up and running..

But when i test internally still i am seeing only STUN data in wireshark and not UDP packets to my server and understand that both peers are in same network and hence communication is peer to peer.

I did setup another environment where both peers are not in same network,, But still no audio/video data i am seeing in browsers once connection established. But i am seeing ICE candidates are exchanged and offer and answer SDP's are exchanged..

Could anyone please help me understand why UDP media data is not traversing through TURN server.? Apprciate for any kind response and thank you in advance.

Thanks
Venkatesh

Oleg Moskalenko

unread,
Dec 28, 2015, 12:40:13 PM12/28/15
to Venkatesh Allamkam, TURN Server (Open-Source project)
did you open the whole relay ports range ?
> --
> You received this message because you are subscribed to the Google Groups
> "TURN Server (Open-Source project)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
> turn-server-project-rfc57...@googlegroups.com.
> To post to this group, send email to
> turn-server-project...@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/turn-server-project-rfc5766-turn-server.
> For more options, visit https://groups.google.com/d/optout.

Venkatesh Allamkam

unread,
Jan 14, 2016, 11:02:53 PM1/14/16
to TURN Server (Open-Source project)
Hi Oleg,

             Issue resolved now.. It is because of authentication issue. I configured credentials properly in turn server and from there i was able to see both audio and video in browsers through turn server.

Thanks
Venkatesh

Oleg Moskalenko

unread,
Jan 15, 2016, 3:22:48 AM1/15/16
to Venkatesh Allamkam, TURN Server (Open-Source project)
OK, thanks for sharing.
Reply all
Reply to author
Forward
0 new messages