Closed
Bug 1330653
Opened 7 years ago
Closed 7 years ago
Headphone plug / unplug events are not registered for mediaDevice.ondevicechanges
Categories
(Core :: WebRTC: Audio/Video, defect, P3)
Core
WebRTC: Audio/Video
Tracking
()
RESOLVED
INVALID
backlog | webrtc/webaudio+ |
People
(Reporter: asimonca, Unassigned)
References
Details
[Note]: - [Affected versions]: - 52.0a2 (id: 20170112004017) - 53.0a1 (id: 20170112030301) [Affected platforms]: - Mac OS X 10.12.3 [Steps to reproduce]: 1. Go to https://jsfiddle.net/jib1/Lqo4paed/ 2. Press "gUM!" and "Share the selected device" on the doorhanger. 3. Press "Enumerate!". 3 devices are found: webcam videoinput (FaceTime HD Camera, External Microphone (virtual OS webcam mic), External Microphone (built-in) 4. Disconnect the headphones. [Expected result]: - A "device change!" message should appear informing the user that there was a change in the "audioinput". [Actual result]: - No "device change!" message appears even though a change is made. 3 devices. videoinput: FaceTime HD Camera (Built-in) id=5uOdkFknPSl1T/L9/e1xMq5+qj0whxsYLFMYIklhUvQ= group= audioinput: default: External Microphone id=VdwzR+7EJ+w1W7YRP/JQ//qKXQ6SMumWwGb7YCWzmSY= group= audioinput: External Microphone id=SPYrQvEYkN07Al6A3f8gl7j2n8kVOCpHGNBD++SOT/4= group= 3 devices. videoinput: FaceTime HD Camera (Built-in) id=5uOdkFknPSl1T/L9/e1xMq5+qj0whxsYLFMYIklhUvQ= group= audioinput: default: Internal Microphone id=xGOA9EzdsCXz5k8SFROfnWfnl20U6SGSzOsextpTLUg= group= audioinput: Internal Microphone id=pvfG0Dj+ao1AHg52wgzVkIDPzQhjh6aRvira8lPLkEY= group= [Regression range]: - This is not a regression. [Additional notes]: - This was tested on a iMac machine using it's built-in FaceTime HD Camera, it's built-in microphone and a pair of Plantronics headset headphones with a microphone.
Updated•7 years ago
|
backlog: --- → webrtc/webaudio+
Rank: 35
Priority: -- → P3
May I know the model ID of the headphone? Does it use a 3.5mm headphone jack or usb connector?
Flags: needinfo?(alexandru.simonca)
Reporter | ||
Comment 2•7 years ago
|
||
I used a "Plantronics Audio 355" headset with 3,5mm headphone jack.
Flags: needinfo?(alexandru.simonca)
Reporter | ||
Updated•7 years ago
|
OS: Mac OS X → All
Hardware: x86_64 → All
Summary: Headphone plug / unplug events are not registered on Mac OS for mediaDevice.ondevicechanges → Headphone plug / unplug events are not registered for mediaDevice.ondevicechanges
Reporter | ||
Comment 3•7 years ago
|
||
I have tested this some more and it seems that this issue happens on all platforms. The only way I got a "device change!" message using a headset / external microphone with a jack was using Windows 10 x64 with DTS Audio Control Panel installed, which prompted me to choose what type of input I was inserting in the microphone jack.
Comment 4•7 years ago
|
||
some (many? most?) systems may not know what type of device is inserted in a 3.5 jack, just that one was.
Most platform cannot detect 3.5mm jack. It's hardware & platform limitation.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Comment 6•7 years ago
|
||
Specifically, on OSX, headset hotswapping is a feature of the built-in device, so the number of devices do not change (only the name of the built-in device changes).
Resolution: INVALID → FIXED
Updated•7 years ago
|
Resolution: FIXED → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•