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

Feature Request: add pre-access event to allow clients to point out browser "Share your camera" dialogs #29

Closed
wfxjeff opened this issue Sep 10, 2013 · 2 comments

Comments

@wfxjeff
Copy link

wfxjeff commented Sep 10, 2013

Add a new event to Erizo.Stream, access-query

Prior to Erizo.GetUserMedia, fire this event

var userMediaQuery = Erizo.StreamEvent({type: "access-query"});
that.dispatchEvent(userMediaQuery);

to notify clients that the getUserMedia is getting called to take any needed action. Ex: point out the share device dialog...

@jcague
Copy link
Contributor

jcague commented Sep 11, 2013

I don't think you'd need an special event for this. Everytime you call to init() in a local stream you could show the share your camera dialog. You could show it before calling init() and stop when you receive "access-accepted" or "access-denied".

@wfxjeff
Copy link
Author

wfxjeff commented Sep 11, 2013

That may suffice. I will try it out.

Jeff
On Sep 11, 2013, at 1:47 AM, Javier Cerviño wrote:

I don't think you'd need an special event for this. Everytime you call to init() in a local stream you could show the share your camera dialog. You could show it before calling init() and stop when you receive "access-accepted" or "access-denied".


Reply to this email directly or view it on GitHub.

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