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

Restrict video access #17

Open
manishmshivanandhan opened this issue Oct 15, 2014 · 1 comment
Open

Restrict video access #17

manishmshivanandhan opened this issue Oct 15, 2014 · 1 comment

Comments

@manishmshivanandhan
Copy link

var webrtc = new SimpleWebRTC({
localVideoEl: 'localVideo',
remoteVideosEl: 'remotes',
autoRequestMedia: true,
log: true
});
How do i ask permission only for audio and not video?

@fippo
Copy link
Collaborator

fippo commented Oct 27, 2014

Pass media: { audio: true, video: false} -- see
https://github.com/HenrikJoreteg/SimpleWebRTC/blob/master/simplewebrtc.js#L23

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

2 participants