add stereo to opus codec.
This commit is contained in:
parent
3c3042d691
commit
b793e5b377
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ func Opus() RTPCodec {
|
|||
MimeType: webrtc.MimeTypeOpus,
|
||||
ClockRate: 48000,
|
||||
Channels: 2,
|
||||
SDPFmtpLine: "useinbandfec=1",
|
||||
SDPFmtpLine: "useinbandfec=1;stereo=1",
|
||||
RTCPFeedback: []webrtc.RTCPFeedback{},
|
||||
},
|
||||
// https://gstreamer.freedesktop.org/documentation/opus/opusenc.html
|
||||
|
|
|
|||
Loading…
Reference in a new issue