Re: [mediacapture-main] Should we revisit and document getUserMedia() track order? (#1028)

I explained on the call the history of why track order is implemented as "group by type": The original specification had only "getAudioTracks" and "getVideoTracks"; "getTracks" was added later. Thus, a natural implementation was to return the concatenation of getAudioTracks and getVideoTracks, and since we had explicit language stating that the order of tracks was not guaranteed, this was a safe implementation choice vs the spec at the time.


-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/1028#issuecomment-2677674447 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 24 February 2025 08:04:13 UTC