cayden / webrtc_remote_sharing

webrtc remote sharing example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is an example of sharing screen between two browser client by WebRTC API

Demo Steps

  1. npm install
  2. npm start
  3. open https://server_address:8183 by a browser, then click "Join" button
  4. open https://server_address:8183 by a browser on local or remote computer
  • 4.1 click "Join" button
  • 4.2 click "Start Share" button.

Then the screen will be sent from remote computer to local computer.

note:

  • server_address can be localhost or a specified address.
  • check the iceConnectionState on web page if there is no screen shared, make sure the STUN servers are reachable

About

webrtc remote sharing example

License:Apache License 2.0


Languages

Language:JavaScript 86.8%Language:HTML 13.2%