-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pluginfree-Screen-Sharing.html #3
Comments
Test it on HTTPS. Because, screen capturing (currently) only works on SSL domains. Chrome denies request automatically in the following cases:
navigator.webkitGetUserMedia({
audio: false /* MUST be false because audio capturer not works with screen capturer */
});
Here is their C++ code that denies screen capturing: if (!screen_capture_enabled ||
request.audio_type != content::MEDIA_NO_SERVICE ||
!request.security_origin.SchemeIsSecure()) {
callback.Run(content::MediaStreamDevices());
return;
} Personally I don’t know why they deny non-SSL requests. Maybe they’re using iframes in sandbox mode or something else that runs only on HTTPS. Browsers who don't understand {chromeMediaSource: 'screen'} constraint will simply get video like chrome stable or Firefox. Can you explain what you meant by "The file of that name in your github directory is not the same file"? |
Corrected. Thanks. |
What I meant is that these two HTML files are very different (and do different things) https://googledrive.com/host/0B6GWd_dUUTT8WHpWSzZ5S0RqeUk/Pluginfree-Screen-Sharing.html |
Thanks @jonschull for this issue: muaz-khan/WebRTC-Experiment#3 Added {chromeMediaSource: 'screen'} in the conference-ui.js file.
Test online: http://bit.ly/webrtc-screen-sharing issue recovered: muaz-khan/WebRTC-Experiment#3
jschull@gmail.com
The text was updated successfully, but these errors were encountered: