Closed
Bug 1168788
Opened 9 years ago
Closed 9 years ago
Check for devices should check for audio or video not just audio
Categories
(Hello (Loop) :: Client, defect, P2)
Hello (Loop)
Client
Tracking
(firefox41 fixed)
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(1 file)
10.48 KB,
patch
|
mikedeboer
:
review+
|
Details | Diff | Splinter Review |
In discussing bug 1166824 with Sevaan, we agreed that the user should only be prompted to install a device when they have neither audio nor video devices installed. If they have either then they should be allowed to make a call (e.g. if they're on a landline phone, they might want to hook up video for screen sharing, and not need audio). I want to park the work on bug 1166824 for a few days, but getting this corrected seems to be the right thing to do before we ship the more restrictive version of the standalone.
Assignee | ||
Comment 1•9 years ago
|
||
This implements the required changes.
Attachment #8611153 -
Flags: review?(mdeboer)
Comment 2•9 years ago
|
||
Comment on attachment 8611153 [details] [diff] [review] Check for devices should check for audio or video not just audio. Review of attachment 8611153 [details] [diff] [review]: ----------------------------------------------------------------- Ship it! Err, tag it! ::: browser/components/loop/content/shared/js/utils.js @@ +328,5 @@ > // by Google Chrome. > } else if ("MediaStreamTrack" in rootObject) { > rootObject.MediaStreamTrack.getSources(function(result) { > function checkForInput(device) { > + return device.kind === "audio" || device.kind == "video"; nit: s/==/===/
Attachment #8611153 -
Flags: review?(mdeboer) → review+
Comment 4•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/276bef475492
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•