Bug 1769985 Comment 4 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

If a default audio output device is included in `enumerateDevices()` output, then that would avoid introducing this regression when enabling "media.setsinkid.enabled", assuming the site still presents the default output device in its picker.  The user may need to use the OS to select the default output device, but at least the default device would be selectable.

The [intention](https://github.com/w3c/mediacapture-output/issues/124) is that the default audio output device is identifiable by being the first audio output device listed in `enumerateDevices()`.
Exposure of the default audio output device without any permission was [proposed](https://github.com/w3c/mediacapture-output/issues/113#issue-704418273), but this was apparently accidentally dropped from consideration.

If we expose a default audio output device without permission, then it should have empty `label` and `deviceId` fields, as with [microphones and cameras](https://w3c.github.io/mediacapture-main/#creating-a-device-info-object), rather than identifying the actual current default device.  i.e. it would be a generic "Default" audio output device corresponding to `setSinkId("")`.

If the current default audio output device is exposed, then adding a generic "Default" audio output device would mean that `enumerateDevices()` would list two "system default audio output" devices.  They cannot both be first, but we need not include the generic "Default" in this case.  Doing so could add unnecessary confusion at least in the situation when there is only one audio output device.
If a default audio output device is included in `enumerateDevices()` output, then that would avoid introducing this regression when enabling "media.setsinkid.enabled", assuming the site still presents the default output device in its picker.  The user may need to use the OS to select the default output device, but at least the default device would be selectable.

The [intention](https://github.com/w3c/mediacapture-output/issues/124) is that the default audio output device is identifiable by being the first audio output device listed in `enumerateDevices()`.
Exposure of the default audio output device without any permission was [proposed](https://github.com/w3c/mediacapture-output/issues/113#issue-704418273), but this was apparently accidentally dropped from consideration.

If we expose a default audio output device without permission, then it should not identifying the actual current default device.  i.e. it would be a generic "Default" audio output device corresponding to `setSinkId("")`.

If the current default audio output device is exposed, then adding a generic "Default" audio output device would mean that `enumerateDevices()` would list two "system default audio output" devices.  They cannot both be first, but we need not include the generic "Default" in this case.  Doing so could add unnecessary confusion at least in the situation when there is only one audio output device.
If a default audio output device is included in `enumerateDevices()` output, then that would avoid introducing this regression when enabling "media.setsinkid.enabled", assuming the site still presents the default output device in its picker.  The user may need to use the OS to select the default output device, but at least the default device would be selectable.

The [intention](https://github.com/w3c/mediacapture-output/issues/124) is that the default audio output device is identifiable by being the first audio output device listed in `enumerateDevices()`.
Exposure of the default audio output device without any permission was [proposed](https://github.com/w3c/mediacapture-output/issues/113#issue-704418273), but this was apparently accidentally dropped from consideration.

If we expose a default audio output device without permission, then it should not identify the actual current default device.  i.e. it would be a generic "Default" audio output device corresponding to `setSinkId("")`.

If the current default audio output device is exposed, then adding a generic "Default" audio output device would mean that `enumerateDevices()` would list two "system default audio output" devices.  They cannot both be first, but we need not include the generic "Default" in this case.  Doing so could add unnecessary confusion at least in the situation when there is only one audio output device.
If a default audio output device is included in `enumerateDevices()` output, then that would avoid introducing this regression when enabling "media.setsinkid.enabled", assuming the site still presents the default output device in its picker.  The user may need to use the OS to select the physical device that will be the default output, but at least the default device would be selectable.

The [intention](https://github.com/w3c/mediacapture-output/issues/124) is that the default audio output device is identifiable by being the first audio output device listed in `enumerateDevices()`.
Exposure of the default audio output device without any permission was [proposed](https://github.com/w3c/mediacapture-output/issues/113#issue-704418273), but this was apparently accidentally dropped from consideration.

If we expose a default audio output device without permission, then it should not identify the actual current default device.  i.e. it would be a generic "Default" audio output device corresponding to `setSinkId("")`.

If the current default audio output device is exposed, then adding a generic "Default" audio output device would mean that `enumerateDevices()` would list two "system default audio output" devices.  They cannot both be first, but we need not include the generic "Default" in this case.  Doing so could add unnecessary confusion at least in the situation when there is only one audio output device.

Back to Bug 1769985 Comment 4