WebRTC can switch encoder on-fly when encoder fails or by request from encoder selector. Putting the current send codec to the front of the codecs list provides a simple way for apps to know what is actually used without retrieving stats. Bug: webrtc:13572 Change-Id: Iaaa5f7ad8667f59016dc92bff9e9a57a7425ef44 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/246500 Reviewed-by: Mirta Dvornicic <mirtad@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Sergey Silkin <ssilkin@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35723}