pion-to-pion/

directory
v3.0.0-...-64aa780 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2024 License: MIT

README

pion-to-pion

pion-to-pion is an example of two pion instances communicating directly!

The SDP offer and answer are exchanged automatically over HTTP. The answer side acts like a HTTP server and should therefore be ran first.

Instructions

First run answer:

export GO111MODULE=on
go install github.com/aultimus/webrtc/v3/examples/pion-to-pion/answer
answer

Next, run offer:

go install github.com/aultimus/webrtc/v3/examples/pion-to-pion/offer
offer

You should see them connect and start to exchange messages.

You can use Docker-compose to start this example:

docker-compose up -d

Now, you can see message exchanging, using docker logs.

Directories

Path Synopsis
pion-to-pion is an example of two pion instances communicating directly!
pion-to-pion is an example of two pion instances communicating directly!
pion-to-pion is an example of two pion instances communicating directly!
pion-to-pion is an example of two pion instances communicating directly!

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL