datachannel is a minimal HTTP server that serves a browser demo where the offerer sends DataChannel messages every second, and the answerer API can be redirected to the backend with proxied RTCPeerConnection method calls over a WebRTC control session.
The root package exposes handoff.NewServer() and server.SetupHandlers(mux) so you can mount the handoff endpoints and serve the browser-side handoff.js override library from your own http.ServeMux. The browser library exposes handoff.Start() and establishes one WebRTC control session per page/tab.
Pion has an active community on the Discord.
Follow the Pion Bluesky or Pion Twitter for project updates and important WebRTC news.
We are always looking to support your projects. Please reach out if you have something to build! If you need commercial support or don't want to use public methods you can contact us at team@pion.ly
Check out the contributing wiki to join the group of amazing people making this project possible
MIT License - see LICENSE for full text