Skip to content
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

Screen sharing #27

Open
Jorger opened this issue Apr 21, 2013 · 3 comments
Open

Screen sharing #27

Jorger opened this issue Apr 21, 2013 · 3 comments

Comments

@Jorger
Copy link

Jorger commented Apr 21, 2013

Hello, webrtc.io is great, congratulations for this excellent library, I recently read support for screen capture from Google Chrome. Webrtc.io will in the future perform this action? or it is possible to do, making some kind of change, I have observed through getUserMedia option in the video option associated a number of parameters:

navigator.getUserMedia({
video: {
mandatory: {
chromeMediaSource: 'screen'
// maxWidth: 640,
// maxHeight: 480
}
}
});

Thanks for your attention ..

@JimCook57
Copy link

I would love to see this added as well.

@benfoxall
Copy link
Contributor

Looks like the client normalising the video to boolean prohibits this:

https://github.com/webRTC/webrtc.io-client/blob/master/lib/webrtc.io.js#L360-L363

If you were to change video: !! opt.video to video: opt.video || false - then that might allow the options above.

@dhassoun
Copy link

dhassoun commented Jun 6, 2013

the above change works pretty good. but just an fyi you cant publish a video and screen share from same connection at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants