On 7/28/16 4:32 AM, [email protected] wrote:
On Thursday, July 28, 2016 at 4:42:00 AM UTC+3, Eric Davies wrote:
getUserMedia is poorly named. It should really be called getMediaSource, but 
changing it at this point would break a lot of code and the webrtc API changes 
enough already.
You want to look into the setSinkId method of the video 
object(https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/setSinkId),
 which is equally poorly named but probably does what you want.

On Tuesday, July 26, 2016 at 12:09:56 AM UTC-7, [email protected] wrote:
Hi all,

why getUserMedia() does not allow to change an audio output device as well with 
provided capturing devices mic and camera?

When I want to change the usage of speakers to my headset that is connected via 
USB I cannot. I is very strange that there is no such possibility.

Best Regards
Michael

Hi Eric,

Thanks for the answer.

The basic support of this function for Firefox will be starting from version 49.
Does it mean that there is no other ability to change the output audio device
 on the current versions 47 and 48?

Hi Michael, that is inaccurate (note the 49 in the compatibility table in the link is Chrome). Firefox implementation of setSinkId is tracked in https://bugzil.la/1264375 which has not been started yet AFAIK.

..: Jan-Ivar :.

_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to