github.com/pion/webrtc/v3@v3.2.24/examples/trickle-ice/README.md (about) 1 # trickle-ice 2 trickle-ice demonstrates Pion WebRTC's Trickle ICE APIs. ICE is the subsystem WebRTC uses to establish connectivity. 3 4 Trickle ICE is the process of sharing addresses as soon as they are gathered. This parallelizes 5 establishing a connection with a remote peer and starting sessions with TURN servers. Using Trickle ICE 6 can dramatically reduce the amount of time it takes to establish a WebRTC connection. 7 8 Trickle ICE isn't mandatory to use, but highly recommended. 9 10 ## Instructions 11 12 ### Download trickle-ice 13 This example requires you to clone the repo since it is serving static HTML. 14 15 ``` 16 mkdir -p $GOPATH/src/github.com/pion 17 cd $GOPATH/src/github.com/pion 18 git clone https://github.com/pion/webrtc.git 19 cd webrtc/examples/trickle-ice 20 ``` 21 22 ### Run trickle-ice 23 Execute `go run *.go` 24 25 ### Open the Web UI 26 Open [http://localhost:8080](http://localhost:8080). This will automatically start a PeerConnection. 27 28 ## Note 29 Congrats, you have used Pion WebRTC! Now start building something cool