1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-09 18:25:58 +01:00

Disable active TCP candidates.

Active TCP candidates were added in Pion 3.2.11.
This commit is contained in:
Juliusz Chroboczek 2023-07-14 14:44:24 +02:00
parent 90ce111b44
commit 5722270cc7

View file

@ -340,6 +340,7 @@ func codecsFromName(name string) ([]webrtc.RTPCodecParameters, error) {
func APIFromCodecs(codecs []webrtc.RTPCodecParameters) (*webrtc.API, error) {
s := webrtc.SettingEngine{}
s.SetSRTPReplayProtectionWindow(512)
s.DisableActiveTCP(true)
if !UseMDNS {
s.SetICEMulticastDNSMode(ice.MulticastDNSModeDisabled)
}