1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 16:45:58 +01:00

Increase size of SRTP replay window.

This commit is contained in:
Juliusz Chroboczek 2020-11-03 00:58:21 +01:00
parent 96c3e4f830
commit c1920e36b6

View file

@ -145,6 +145,7 @@ func Add(name string, desc *description) (*Group, error) {
if groups.groups == nil { if groups.groups == nil {
groups.groups = make(map[string]*Group) groups.groups = make(map[string]*Group)
s := webrtc.SettingEngine{} s := webrtc.SettingEngine{}
s.SetSRTPReplayProtectionWindow(512)
if !UseMDNS { if !UseMDNS {
s.SetICEMulticastDNSMode(ice.MulticastDNSModeDisabled) s.SetICEMulticastDNSMode(ice.MulticastDNSModeDisabled)
} }