This is an example of sharing screen between two browser client by WebRTC API
Demo Steps
- npm install
- npm start
- open https://server_address:8183 by a browser, then click "Join" button
- 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