mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 20:47:06 +00:00
FS-8204 add sprop-stereo also
This commit is contained in:
1 parent
86805cece3
commit
7ea9b684a7
3 files changed
+4
-3
No files matched your search
@@ -181,10 +181,10 @@
|
||||
|
||||
if (fmtpLineIndex === null) {
|
||||
// create an fmtp line
|
||||
sdpLines[opusIndex] = sdpLines[opusIndex] + '\r\na=fmtp:' + opusPayload.toString() + " stereo=1"
|
||||
sdpLines[opusIndex] = sdpLines[opusIndex] + '\r\na=fmtp:' + opusPayload.toString() + " stereo=1; sprop-stereo=1"
|
||||
} else {
|
||||
// Append stereo=1 to fmtp line.
|
||||
sdpLines[fmtpLineIndex] = sdpLines[fmtpLineIndex].concat('; stereo=1');
|
||||
sdpLines[fmtpLineIndex] = sdpLines[fmtpLineIndex].concat('; stereo=1; sprop-stereo=1');
|
||||
}
|
||||
|
||||
sdp = sdpLines.join('\r\n');
|
||||
|
||||
Reference in new issue
Block a user