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

Working like Firefox is not "breakage". There's no risk here as far as I'm concerned. Only upside.

> We also need to be careful about remote tracks as shown by this which puts video first, then audio in the SDP:
https://jsfiddle.net/fippo/ec1puh6w/
> The risk of causing breakage in how this translates to SDP is too big.

SDP is garbage in garbage out. E.g. put the `m=audio` line first instead and [audio track is surfaced first](https://jsfiddle.net/5dock7wu/). Same on [input](https://jsfiddle.net/jib1/u7s9pzkc/).

It seems clear we would have heard about it by now if this were problematic.

Knowing there's no breakage, it's disappointing we cannot align around the spec which has the most natural and logical behavior, which happens to be how Firefox already works in this case.


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


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

Received on Wednesday, 19 February 2025 01:56:10 UTC