From 388f6342edc09558c19385eae96966cb22afc7ac Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Fri, 31 Oct 2025 09:35:04 -0400 Subject: [PATCH] MT#55283 fix opus fmtp booboo Fixes #2017 Change-Id: I4931cce077dd54209f2342b962a144bce965db25 --- lib/codeclib.c | 2 +- t/auto-daemon-tests-async-tc.pl | 2 +- t/auto-daemon-tests.pl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/codeclib.c b/lib/codeclib.c index d7bf5b65f..d4bfde56a 100644 --- a/lib/codeclib.c +++ b/lib/codeclib.c @@ -2578,7 +2578,7 @@ static void opus_parse_format_cb(str *key, str *token, void *data) { YNFLAG(CSH_LOOKUP("sprop-stereo"), stereo_send) YNFLAG(CSH_LOOKUP("useinbandfec"), fec_recv) YNFLAG(CSH_LOOKUP("cbr"), cbr) - YNFLAG(CSH_LOOKUP("usedtx"), fec_recv) + YNFLAG(CSH_LOOKUP("usedtx"), usedtx) #undef YNFLAG case CSH_LOOKUP("maxplaybackrate"): opts->opus.maxplaybackrate = str_to_i(token, 0); diff --git a/t/auto-daemon-tests-async-tc.pl b/t/auto-daemon-tests-async-tc.pl index fcab71751..0944bad8a 100755 --- a/t/auto-daemon-tests-async-tc.pl +++ b/t/auto-daemon-tests-async-tc.pl @@ -65,7 +65,7 @@ t=0 0 m=audio PORT RTP/AVP 96 0 c=IN IP4 203.0.113.1 a=rtpmap:96 opus/48000/2 -a=fmtp:96 stereo=0; sprop-stereo=0; useinbandfec=0; cbr=0; maxplaybackrate=32000; maxaveragebitrate=40000; sprop-maxcapturerate=16000 +a=fmtp:96 stereo=0; sprop-stereo=0; useinbandfec=0; usedtx=0; cbr=0; maxplaybackrate=32000; maxaveragebitrate=40000; sprop-maxcapturerate=16000 a=rtpmap:0 PCMU/8000 a=sendrecv a=rtcp:PORT diff --git a/t/auto-daemon-tests.pl b/t/auto-daemon-tests.pl index 99ebd327b..e51c5784b 100755 --- a/t/auto-daemon-tests.pl +++ b/t/auto-daemon-tests.pl @@ -7810,7 +7810,7 @@ t=0 0 m=audio PORT RTP/AVP 96 0 c=IN IP4 203.0.113.1 a=rtpmap:96 opus/48000/2 -a=fmtp:96 stereo=0; sprop-stereo=0; useinbandfec=0; cbr=0; maxplaybackrate=32000; maxaveragebitrate=40000; sprop-maxcapturerate=16000 +a=fmtp:96 stereo=0; sprop-stereo=0; useinbandfec=0; usedtx=0; cbr=0; maxplaybackrate=32000; maxaveragebitrate=40000; sprop-maxcapturerate=16000 a=rtpmap:0 PCMU/8000 a=sendrecv a=rtcp:PORT