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

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