Browse Source

MT#55283 fix opus fmtp booboo

Fixes #2017

Change-Id: I4931cce077dd54209f2342b962a144bce965db25
pull/2018/head
Richard Fuchs 1 month ago
parent
commit
388f6342ed
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      lib/codeclib.c
  2. +1
    -1
      t/auto-daemon-tests-async-tc.pl
  3. +1
    -1
      t/auto-daemon-tests.pl

+ 1
- 1
lib/codeclib.c View File

@ -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);


+ 1
- 1
t/auto-daemon-tests-async-tc.pl View File

@ -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


+ 1
- 1
t/auto-daemon-tests.pl View File

@ -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


Loading…
Cancel
Save