Skip to content

pion/handoff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Handoff

Start WebRTC in the browser—run it somewhere else

join us on Discord Follow us on Bluesky Twitter Widget


Usage

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.

Community

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

Contributing

Check out the contributing wiki to join the group of amazing people making this project possible

License

MIT License - see LICENSE for full text

About

Start WebRTC in the browser—run it somewhere else

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors