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

Sample page showing a failing gUM A+V request falling back to gUM audio-only request #447

Closed
tednakamura opened this issue Jan 29, 2015 · 4 comments
Assignees

Comments

@tednakamura
Copy link
Contributor

http://w3c.github.io/mediacapture-main/#dom-mediadevices-getusermedia indicates that if all requested media types aren't available, gUM should return an error. This means it's an application's responsibility, rather than browser's responsibility, to detect that error and appropriately handle it in the gUM error callback. Could a sample app be written that does the following to showcase this behavior? The general workflow I'm imagining is:

  1. User with a microphone, but no camera, opens the page.
  2. The user clicks a button and the page makes an audio and video gUM request.
  3. That gUM request fails, and without any user intervention, the page then makes an audio-only gUM request.
  4. That audio-only gUM request succeeds. I don't have a preference for what should go in the success callback, but it would be nice to have some sort of visible or audible indicator of success.
@juberti
Copy link
Contributor

juberti commented Feb 4, 2015

AppRTC should also do this - please file a bug in AppRTC for this functionality

@jiayliu
Copy link
Contributor

jiayliu commented Feb 5, 2015

Is it assigned to me to add this to apprtc only, or samples also?

@juberti
Copy link
Contributor

juberti commented Feb 5, 2015

apprtc, I think that should be sufficient for now

@jiayliu
Copy link
Contributor

jiayliu commented Feb 5, 2015

Opened issue in apprtc repo. Should this one be closed?

@juberti juberti closed this as completed Feb 5, 2015
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

5 participants