You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started studying the Pion project to explore the use of data channels with Go. I created a very simple example consisting of two programs (client.go, receiver.go and sender.go) to establish a connection and exchange messages between them. The solution works when on the same network, but fails when running on different networks. Looking at the SDPs, I see that there are reflexive candidates and the public IP of both is valid. What could be the problem? Is there a way to better debug the error? Here are the files I use:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone,
I started studying the Pion project to explore the use of data channels with Go. I created a very simple example consisting of two programs (
client.go
,receiver.go
andsender.go
) to establish a connection and exchange messages between them. The solution works when on the same network, but fails when running on different networks. Looking at the SDPs, I see that there are reflexive candidates and the public IP of both is valid. What could be the problem? Is there a way to better debug the error? Here are the files I use:client.go:
receiver.go
sender.go
Beta Was this translation helpful? Give feedback.
All reactions