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

See https://github.com/webrtcHacks/adapter/pull/969 and the related discussion.
From what I recall this has continued to confuse "web developers".

I am not sure if lexographically order of tracks sorted by the *id* is meaningful to anyone, sorting by *kind* and then by *id* seems more natural.

I'd suggest checking how getTracks + addTrack behaves and look forward to the WPT!

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


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

Received on Friday, 14 February 2025 06:16:36 UTC