autoome / p2pquic

QUIC/ICE demo using quic-go and pion/ice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

p2pquic

QUIC/ICE demo using quic-go and pion/ice. Based on the quic-go echo example and the pion/ice example.

Build and Run

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.

About

QUIC/ICE demo using quic-go and pion/ice

License:MIT License


Languages

Language:Go 100.0%