/webrtc_remote_sharing

webrtc remote sharing example

Primary LanguageJavaScriptApache License 2.0Apache-2.0

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