QUIC/ICE demo using quic-go and pion/ice. Based on the quic-go echo example and the pion/ice example.
Start two terminals. In the first, run:
go run cmd/main.go -server -ice
In the second one run:
go run cmd/main.go -ice -local 9001 -remote 9000
When both processes are running, press enter in both terminals. You should see
some log messages about ICE connection states and candidates. When the
connection is established, the QUIC client sends the message foobar
, which is
then echoed back by the server.