Skip to content

A simple peer to peer signaling server using plain websockets to establish webRTC connections between users.

Notifications You must be signed in to change notification settings

lukasboettcher/p2p-signaling

Repository files navigation

p2p-signaling

A simple peer to peer signaling server using plain websockets to establish webRTC connections between users.

build and run dockerfile

docker build . -t p2p-signaling
docker run -d --restart unless-stopped --name p2p-signaling p2p-signaling

or run latest image from ghcr

docker run -d --restart unless-stopped --name p2p-signaling \
	-l traefik.enable=true \
	-l traefik.http.routers.signal.rule="Host(\`<HOST>\`)" \
	-l traefik.http.routers.signal.entrypoints=websecure \
 	-l traefik.http.routers.signal.tls.certresolver=letsencrypt \
  ghcr.io/lukasboettcher/p2p-signaling:master

Additionally run the ion-sfu for 8+ users in a WebRTC session.

docker run -d --restart unless-stopped -p 5000:5000/udp --name ion-sfu \
	-l traefik.enable=true \
	-l traefik.http.routers.signal-multi.rule="Host(\`<HOST>\`)" \
	-l traefik.http.routers.signal-multi.entrypoints=websecure \
 	-l traefik.http.routers.signal-multi.tls.certresolver=letsencrypt \
	-l traefik.http.services.signal-multi.loadbalancer.server.port=7000 \
  ghcr.io/lukasboettcher/p2p-signaling-multiscreen:master

Coturn docker container.

docker run -d --name coturn --restart unless-stopped \
	-p 3478:3478 -p 3478:3478/udp -p 49160-49200:49160-49200/udp \
	coturn/coturn --min-port=49160 --max-port=49200 -au <user>:<secret>

About

A simple peer to peer signaling server using plain websockets to establish webRTC connections between users.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages