opus useinbandfec.

This commit is contained in:
Miroslav Šedivý 2022-03-24 21:48:51 +01:00
parent 192095da86
commit f549171ded

View File

@ -119,12 +119,12 @@ func Opus() RTPCodec {
MimeType: webrtc.MimeTypeOpus,
ClockRate: 48000,
Channels: 2,
SDPFmtpLine: "",
SDPFmtpLine: "useinbandfec=1",
RTCPFeedback: []webrtc.RTCPFeedback{},
},
// https://gstreamer.freedesktop.org/documentation/opus/opusenc.html
// gstreamer1.0-plugins-base
Pipeline: "opusenc bitrate=128000",
Pipeline: "opusenc inband-fec=true bitrate=128000",
}
}