Comments (3)
Test it on HTTPS. Because, screen capturing (currently) only works on SSL domains.
Chrome denies request automatically in the following cases:
- Screen capturing is not enabled via command line switch.
mandatory: {chromeMediaSource: 'screen'} must be there - Audio stream was requested (it's not supported yet).
navigator.webkitGetUserMedia({
audio: false /* MUST be false because audio capturer not works with screen capturer */
});
- Request from a page that was not loaded from a secure origin.
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"?
from webrtc-experiment.
Corrected. Thanks.
from webrtc-experiment.
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
from webrtc-experiment.
Related Issues (20)
- "WebRTC Video Conferencing Demos" link refer to nonexistant page
- screen sharing doesn't work on chrome HOT 2
- How can we control which port(s) will be used to create peer to peer connection in WebRTC? HOT 1
- ERROR - {"code":0,"message":"Transport unknown"}
- Two LED screens are spliced, and the recording recording files is 0 bytes.
- Scalable Broadcasting Camera Switch
- Stop after 5 seconds
- Test001123
- Anyone using Scalable Broadcasting in Production?
- Only users who are on the same network can communicate on socket.io
- muazkhan.com socket.io signaling server is down
- How to controller video quality ex. I want to save video only 480 or 720
- Facing issue on webrtc video conference using firebase
- Is it support G723 or G729
- Muaz is gone! HOT 1
- Conference Calling on Android
- Cleanup of getDisplayMedia demo HOT 1
- Can I share some Windows?
- Video Recording
- Can a shared surface select its derivative window?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webrtc-experiment.