fn format_with_overrides(
source: &MediaFormat,
payload_type: PayloadType,
apt_override: Option<PayloadType>,
feedback: &[RtcpFeedback],
) -> MediaFormatExpand description
Rebuild the format from the source while applying negotiated overrides.
We copy all original codec settings except RTX apt, because apt may need
to be rewritten after payload-type remapping. RTCP feedback is also rebuilt
from the negotiated intersection rather than just copied, so the result
only advertises mutually supported feedback mechanisms.