I've just started experimenting with WebRTC with Go and downloaded pions/webrtc library but I'am stuck with it's data-channels
example.
As it written in docs I opened jsfiddle client example.
Then I'am running go run main.go
command in the /go/src/github.com/pions/webrtc/examples/data-channels
folder on my server to launch data-channel.
After that I copy Browser base64 Session Description
from jsfiddle example and paste it into my terminal where data-channels
go script is running and it generates Golang base64 Session Description
code which I paste into jsfiddle example and then press Sart session
button.
And it fails to establish connection :(
This is my jsfiddle example for client side:
And this is my server side go script:
What am I doing wrong?