Increase size of SRTP replay window.
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user