client
Client is a simple TURN client. It sends a STUN binding request to the TURN server and prints the result.
Usage
Native
First install the client:
go get github.com/pion/turn
go install github.com/pion/turn/cmd/client
Next, run the executable. Note: This assumes $GOPATH/bin
is part of your $PATH
.
client
You can pass arguments as follows:
client -host 127.0.0.1 -port 3478
Docker
First build the container:
docker build -t turn-client -f Dockerfile.production .
Next run the container:
docker run turn-client
You can pass arguments as follows:
docker run turn-client -host 127.0.0.1 -port 3478