Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use stable_sort to sort media capture devices according the fitness d…
…istance https://bugs.webkit.org/show_bug.cgi?id=255131 rdar://problem/107735578 Reviewed by Eric Carlson. Using stable_sort gives more predictive results since the initial order is the one we specify. Also, it will favor higher priority devices (first in the list) against lower priority devices. * Source/WebCore/platform/mediastream/RealtimeMediaSourceCenter.cpp: (WebCore::RealtimeMediaSourceCenter::validateRequestConstraintsAfterEnumeration): Canonical link: https://commits.webkit.org/262718@main
- Loading branch information