diff --git a/lib/codeclib.c b/lib/codeclib.c index d8d45175b..5f3fa11f2 100644 --- a/lib/codeclib.c +++ b/lib/codeclib.c @@ -2338,7 +2338,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.pl b/t/auto-daemon-tests.pl index d1dd4afe2..fe6eed933 100755 --- a/t/auto-daemon-tests.pl +++ b/t/auto-daemon-tests.pl @@ -1891,7 +1891,7 @@ c=IN IP4 203.0.113.1 t=0 0 m=audio PORT RTP/AVP 96 0 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