↑ WEBRTC EXPERIMENTS

WebRTC Plugin-free Screen Sharing

Copyright © 2013 Muaz Khan<@muazkh>.

Private sharing ??

/Pluginfree-Screen-Sharing/#123456789



Enable screen capture support in getUserMedia()



Allow web pages to request access to the screen contents via the getUserMedia() API. #enable-usermedia-screen-capture

You must enable this flag via "chrome://flags/"


To use code in your own site, you must understand following limitations:



Chrome Canary denies "screen capturing" request automatically if:
  1. You've not used 'chromeMediaSource' constraint:
    mandatory: {chromeMediaSource: 'screen'}
    
  2. You requested audio-stream alongwith 'chromeMediaSource' – it is not permitted.
  3. You're not testing it on SSL origin (HTTPS domain).
  4. "screen capturing" is requested multiple times per tab. Maximum one request is permitted per page!

Remember, recursive cascade images or blurred screen is chrome's implementation issues. It will be solved soon.

mandatory: {chromeMediaSource: 'tab'} can only be useful in chrome extensions. See Tab sharing using tabCapture APIs.


It is preferred to use RTCMultiConnection.js for audio/video/screen conferencing/broadcasting.

Source Code on Github



Feedback