This is a minimal Go/Pion WebRTC server that:
- serves a static web page (WebSocket + WebRTC)
- spawns a local GStreamer pipeline that generates a test pattern (VP8 by default)
- ingests RTP on UDP and forwards it to a WebRTC video track
- exposes a DataChannel named
inputfor basic keyboard/mouse (demo to /dev/uinput)
go mod tidy
go build -trimpath -o remoteui-pion-server .
./remoteui-pion-server --port 8080 --web ./web
# open http://localhost:8080
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -trimpath -o remoteui-pion-server .