Switch branches/tags
Nothing to show
Find file History
Permalink
..
Failed to load latest commit information.
images desktopCapture-p2p is updated. (v1.9) May 3, 2015
CodecsHandler.js desktopCapture-p2p and screen-recording extensions are updated. May 1, 2018
IceServersHandler.js #40 desktopCapture-p2p screen-auto-close issue seems fixed now Jun 9, 2018
MultiStreamsMixer.js desktopCapture-p2p extension is now having mega-updates!!! May 20, 2018
README.md desktopCapture-p2p extension is now having mega-updates!!! May 20, 2018
RTCMultiConnection.min.js #40 desktopCapture-p2p screen-auto-close issue seems fixed now Jun 9, 2018
adapter.js desktopCapture-p2p Now using socket.io and RTCMultiConnection-v3 #39 Jun 4, 2018
camera-mic.html desktopCapture-p2p extension is now having mega-updates!!! May 20, 2018
camera-mic.js desktopCapture-p2p extension is now having mega-updates!!! May 20, 2018
desktop-capturing.js #40 desktopCapture-p2p screen-auto-close issue seems fixed now Jun 9, 2018
dropdown.html desktopCapture-p2p extension is now having mega-updates!!! May 20, 2018
dropdown.js desktopCapture-p2p extension bugs fixed. May 21, 2018
getStats.js RecordRTC and Screen Sharing extension updated. Nov 21, 2017
index.php #40 desktopCapture-p2p screen-auto-close issue seems fixed now Jun 9, 2018
manifest.json #40 desktopCapture-p2p screen-auto-close issue seems fixed now Jun 9, 2018
options.html desktopCapture-p2p Jun 8, 2018
options.js desktopCapture-p2p: fixed password-protected rooms, implemented "hide… Jun 6, 2018
server.sh Replaced index.html with index.php (desktopCapture-p2p demo) Jun 4, 2018
socket.io.js desktopCapture-p2p Now using socket.io and RTCMultiConnection-v3 #39 Jun 4, 2018
video.html desktopCapture-p2p Now using socket.io and RTCMultiConnection-v3 #39 Jun 4, 2018
video.js desktopCapture-p2p Now using socket.io and RTCMultiConnection-v3 #39 Jun 4, 2018

README.md

Chrome extension for WebRTC Screen Sharing

WebRTC Screen Sharing

How to install?

Install Dessktop Sharing Extension

How to view screen?

Try any of the below URL. Replace your_room_id with real room-id:

https://webrtcweb.com/screen?s=your_room_id
https://cdn.rawgit.com/muaz-khan/Chrome-Extensions/master/desktopCapture-p2p/index.html

Developer Notes

  1. Chrome extension can share your screen, tab, any application's window, camera, microphone and speakers.
  2. Clicking extension icon will generate a unique random room URL. You can share that URL with multiple users and all of them can view your screen.
  3. RTCMultiConnection is a WebRTC library that is used for peer-to-peer WebRTC streaming.
  4. PubNub is used as a signaling method for handshake. However you can use any WebRTC signaing option.
  5. You can replace or include your own STUN+TURN servers in the IceServersHandler.js file.
  6. VP8 is currently default video codecs. However VP9 is recommended. You can always change codecs using options page.
  7. getStats is a WebRTC library that is used for bandwidth & codecs detection. This library is optional. You can always remove it.

Before publishing it for your own business

This step is optional. You can keep using webrtcweb.com URL as a screen viewer.

Open desktop-capturing.js and find following line:

var resultingURL = 'https://webrtcweb.com/screen?s=' + connection.sessionid;

Replace above line with your own server/website:

var resultingURL = 'https://yourWebSite.com/index.html?s=' + connection.sessionid;

You can find index.html here:

How to publish it for your own business?

Make ZIP of the directory. Then navigate to Chrome WebStore Developer Dashboard and click Add New Item blue button.

To learn more about how to publish a chrome extension in Google App Store:

For more information

For additional information, click this link.

It is Open-Sourced!

License

Chrome-Extensions are released under MIT licence . Copyright (c) Muaz Khan.