mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Support OPUS stereo SDP option. v5.0.203 v6.0.105 (#3910)
In an SDK that supports RTC Opus stereo, the parameter "stereo=1" may appear. SRS (Spatial Reference System) needs to handle this correctly and return an answer to enable WebRTC stereo support. --------- `TRANS_BY_GPT4`
This commit is contained in:
parent
6d56c407c6
commit
15601b4b2a
5 changed files with 13 additions and 3 deletions
|
@ -389,11 +389,13 @@ class SrsAudioPayload : public SrsCodecPayload
|
|||
{
|
||||
int minptime;
|
||||
bool use_inband_fec;
|
||||
bool stereo;
|
||||
bool usedtx;
|
||||
|
||||
SrsOpusParameter() {
|
||||
minptime = 0;
|
||||
use_inband_fec = false;
|
||||
stereo = false;
|
||||
usedtx = false;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue