W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > September 2019

Re: [mediacapture-output] Selecting audio output in case device info permission is not granted (#83)

From: youennf via GitHub <sysbot+gh@w3.org>
Date: Fri, 13 Sep 2019 11:03:41 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-531195202-1568372620-sysbot+gh@w3.org>
Adding a prompt might be be difficult to implement, in particular the message to convey to users.
If we keep the idea of relying on IDs and setSinkId, there are a few possibilities that are worth to explore:
- Some devices are already known to the web page. Exposing these devices is then probably fine. A phone usually has an ear-piece speaker and a loud speaker. They could be exposed as is and/or represented as specific deviceId values.
- Some applications do not want to pick a specific device but a specific behaviour. For instance, some applications are phone-like applications and want to pick the most suitable speaker available for that purpose, be it the earpiece speaker, a BT headset... This could be expressed in different ways. One possibility would be to define specific deviceId values.
- Some applications want to allow the user to select a specific device in their UI. We could define an API that triggers a device picker, similarly to screen capture that allows a user to select a specific screen/window. This is also done this way in Safari to select AirPlay devices. The user selects a specific device and the corresponding deviceId is exposed to the web page.


-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-output/issues/83#issuecomment-531195202 using your GitHub account
Received on Friday, 13 September 2019 11:03:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:28 UTC