W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > October 2018

Re: [mediacapture-output] It is unclear why https://w3c.github.io/mediacapture-output/#dom-htmlmediaelement-setsinkid 5.5 needs to queue a task

From: guidou via GitHub <sysbot+gh@w3.org>
Date: Mon, 01 Oct 2018 10:17:34 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-425857596-1538389053-sysbot+gh@w3.org>
That is correct, and it is written that way for practical reasons.
"Switching the underlying audio output device" is typically a task that cannot be performed synchronously (i.e., typically you have to go to another thread or process to switch the device, and then get an asynchronous notification about the change being completed, which must run on another task.

GitHub Notification of comment by guidou
Please view or discuss this issue at https://github.com/w3c/mediacapture-output/issues/77#issuecomment-425857596 using your GitHub account
Received on Monday, 1 October 2018 10:17:35 UTC

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