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:
parent
90ce111b44
commit
5722270cc7
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue