Skip to content

swift-fox/webrtc-p2p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

webrtc-p2p

Browser-based P2P live media streaming solution. Supports all mainstream mobile and desktop browsers.

Features

  • Plugin-free. Requires only a modern browser with WebRTC and WebSocket.
  • Unlimited number of clients and low server burdens.
  • Broadcasts live video from any device.
  • Supports interactive streaming. A client can be both the content receiver and publisher.
  • Based on peer-to-peer sharing network.

Applications

  • Internet live broadcasting
  • Online conference system
  • Remote education system

Current state: Prototype. Tested on Chrome.

How to Use

server.js and webrtc-server.js is the server-side script. Run it with NodeJS.

webrtc-p2p.js is the browser-side script. Create RTCClient object. And its usage is similar to the RTCPeerConnection in WebRTC.

Demo is available on the demo branch. Check it out!

About

Browser-based P2P live media streaming solution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published