Skip to content

Creates a WebRTC PeerConnection and uses it to share video between two peers without a server

Notifications You must be signed in to change notification settings

Charles92011/PeerToPeerVideo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

PeerToPeerVideo

Creates a WebRTC PeerConnection and shares video between two peers without a signalling server

Please modify index.html to accomplish the following:

  1. Add an audio track to the video stream
  2. Create a video stream of the local screen using getDisplayMedia
  3. Add a video element, alongside the local video, that displays the screen
  4. Add the shared screen video track to the peer media stream
  5. When a remote connection is made, display the remote shared screen alongside the remote video

The final index.html should have 2 video elements displaying the local camera and local screen, and two video elements displaying the remote video and remote screen. The peers should be able to see each other's cameras, screens and to speak with each other.

About

Creates a WebRTC PeerConnection and uses it to share video between two peers without a server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages