Commit 5722270c authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Disable active TCP candidates.

Active TCP candidates were added in Pion 3.2.11.
parent 90ce111b
......@@ -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)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment