mirror of
https://github.com/livekit/livekit.git
synced 2026-12-04 23:38:52 +00:00
* rtc: keep the preferred codec's RTX when trimming the answer Trimming the answer to the preferred video codec kept the codec and flexfec but dropped its RTX, so clients that get a trimmed answer could not negotiate RTX. Keep each RTX whose apt is a kept codec. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * rtc: test that the trimmed answer keeps the offered RTX Drive a real offer through HandleRemoteDescription with client payload types that differ from the server's, trim to VP8 from the remote description hook, and check the answer from createAndSendAnswer keeps VP8's RTX at the offered payload type and drops H264 and its RTX. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * rtc: check the trimmed answer's video payload list Assert the video m-line lists only VP8 and its RTX, so a dropped codec cannot stay listed without its attributes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>