mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
opus useinbandfec.
This commit is contained in:
parent
192095da86
commit
f549171ded
@ -119,12 +119,12 @@ func Opus() RTPCodec {
|
|||||||
MimeType: webrtc.MimeTypeOpus,
|
MimeType: webrtc.MimeTypeOpus,
|
||||||
ClockRate: 48000,
|
ClockRate: 48000,
|
||||||
Channels: 2,
|
Channels: 2,
|
||||||
SDPFmtpLine: "",
|
SDPFmtpLine: "useinbandfec=1",
|
||||||
RTCPFeedback: []webrtc.RTCPFeedback{},
|
RTCPFeedback: []webrtc.RTCPFeedback{},
|
||||||
},
|
},
|
||||||
// https://gstreamer.freedesktop.org/documentation/opus/opusenc.html
|
// https://gstreamer.freedesktop.org/documentation/opus/opusenc.html
|
||||||
// gstreamer1.0-plugins-base
|
// gstreamer1.0-plugins-base
|
||||||
Pipeline: "opusenc bitrate=128000",
|
Pipeline: "opusenc inband-fec=true bitrate=128000",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user