go-stun
go-stun copied to clipboard
Difficulty talking to chrome webrtc
I'm trying to navigate a STUN binding request/response with Chrome. In my setup, the "offerer" is a Go application that uses go-stun and the "answerer" is a simple javascript application utilizing the chrome webrtc API. After sending an SDP offer, Chrome sends a STUN binding request to my Go application, and I attempt to send back a STUN binding success response using go-stun. However, my response does not seem to be accepted by Chrome.
Do you have an example of successfully negotiating a STUN connection with Chrome?
For reference, I am not attempting to communicate with a STUN server, and I am not doing true "hole punching" since both peers are running locally.