Skip to content

Commit 1195373

Browse files
committed
MT#55283 fix opus fmtp booboo
Fixes #2017 Change-Id: I4931cce077dd54209f2342b962a144bce965db25 (cherry picked from commit 388f634) (cherry picked from commit b0831a2)
1 parent 29b3e55 commit 1195373

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/codeclib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2579,7 +2579,7 @@ static void opus_parse_format_cb(str *key, str *token, void *data) {
25792579
YNFLAG(CSH_LOOKUP("sprop-stereo"), stereo_send)
25802580
YNFLAG(CSH_LOOKUP("useinbandfec"), fec_recv)
25812581
YNFLAG(CSH_LOOKUP("cbr"), cbr)
2582-
YNFLAG(CSH_LOOKUP("usedtx"), fec_recv)
2582+
YNFLAG(CSH_LOOKUP("usedtx"), usedtx)
25832583
#undef YNFLAG
25842584
case CSH_LOOKUP("maxplaybackrate"):
25852585
opts->opus.maxplaybackrate = str_to_i(token, 0);

t/auto-daemon-tests-async-tc.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
t=0 0
6666
m=audio PORT RTP/AVP 96 0
6767
a=rtpmap:96 opus/48000/2
68-
a=fmtp:96 stereo=0; sprop-stereo=0; useinbandfec=0; cbr=0; maxplaybackrate=32000; maxaveragebitrate=40000; sprop-maxcapturerate=16000
68+
a=fmtp:96 stereo=0; sprop-stereo=0; useinbandfec=0; usedtx=0; cbr=0; maxplaybackrate=32000; maxaveragebitrate=40000; sprop-maxcapturerate=16000
6969
a=rtpmap:0 PCMU/8000
7070
a=sendrecv
7171
a=rtcp:PORT

t/auto-daemon-tests.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4118,7 +4118,7 @@ sub stun_succ {
41184118
t=0 0
41194119
m=audio PORT RTP/AVP 96 0
41204120
a=rtpmap:96 opus/48000/2
4121-
a=fmtp:96 stereo=0; sprop-stereo=0; useinbandfec=0; cbr=0; maxplaybackrate=32000; maxaveragebitrate=40000; sprop-maxcapturerate=16000
4121+
a=fmtp:96 stereo=0; sprop-stereo=0; useinbandfec=0; usedtx=0; cbr=0; maxplaybackrate=32000; maxaveragebitrate=40000; sprop-maxcapturerate=16000
41224122
a=rtpmap:0 PCMU/8000
41234123
a=sendrecv
41244124
a=rtcp:PORT

0 commit comments

Comments
 (0)