mirror of
https://github.com/jech/galene.git
synced 2024-11-25 01:55:57 +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) {
|
func APIFromCodecs(codecs []webrtc.RTPCodecParameters) (*webrtc.API, error) {
|
||||||
s := webrtc.SettingEngine{}
|
s := webrtc.SettingEngine{}
|
||||||
s.SetSRTPReplayProtectionWindow(512)
|
s.SetSRTPReplayProtectionWindow(512)
|
||||||
|
s.DisableActiveTCP(true)
|
||||||
if !UseMDNS {
|
if !UseMDNS {
|
||||||
s.SetICEMulticastDNSMode(ice.MulticastDNSModeDisabled)
|
s.SetICEMulticastDNSMode(ice.MulticastDNSModeDisabled)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue