Skip to content

Commit b84f9ee

Browse files
committed
MT#55283 fix opus fmtp booboo
Fixes #2017 Change-Id: I4931cce077dd54209f2342b962a144bce965db25 (cherry picked from commit 388f634) (cherry picked from commit 53577d0)
1 parent efc4be2 commit b84f9ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/codeclib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2338,7 +2338,7 @@ static void opus_parse_format_cb(str *key, str *token, void *data) {
23382338
YNFLAG(CSH_LOOKUP("sprop-stereo"), stereo_send)
23392339
YNFLAG(CSH_LOOKUP("useinbandfec"), fec_recv)
23402340
YNFLAG(CSH_LOOKUP("cbr"), cbr)
2341-
YNFLAG(CSH_LOOKUP("usedtx"), fec_recv)
2341+
YNFLAG(CSH_LOOKUP("usedtx"), usedtx)
23422342
#undef YNFLAG
23432343
case CSH_LOOKUP("maxplaybackrate"):
23442344
opts->opus.maxplaybackrate = str_to_i(token, 0);

t/auto-daemon-tests.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1891,7 +1891,7 @@ sub stun_succ {
18911891
t=0 0
18921892
m=audio PORT RTP/AVP 96 0
18931893
a=rtpmap:96 opus/48000/2
1894-
a=fmtp:96 stereo=0; sprop-stereo=0; useinbandfec=0; cbr=0; maxplaybackrate=32000; maxaveragebitrate=40000; sprop-maxcapturerate=16000
1894+
a=fmtp:96 stereo=0; sprop-stereo=0; useinbandfec=0; usedtx=0; cbr=0; maxplaybackrate=32000; maxaveragebitrate=40000; sprop-maxcapturerate=16000
18951895
a=rtpmap:0 PCMU/8000
18961896
a=sendrecv
18971897
a=rtcp:PORT

0 commit comments

Comments
 (0)