Use latest Pion WebRTC libs version

- webrtc and dtls libs got the "Skip Hello Verify" patches applied

Link: https://github.com/pion/dtls/pull/513
Link: https://github.com/pion/webrtc/pull/2433
This commit is contained in:
KokaKiwi 2023-03-06 18:23:55 +01:00 committed by Shelikhoo
parent 5dd0a31d95
commit 1ef43a0dde
No known key found for this signature in database
GPG key ID: C4D5E79D22B25316
3 changed files with 79 additions and 63 deletions

View file

@ -379,6 +379,8 @@ func (sf *SnowflakeProxy) makeWebRTCAPI() *webrtc.API {
settingsEngine.SetICEMulticastDNSMode(ice.MulticastDNSModeDisabled)
settingsEngine.SetDTLSInsecureSkipHelloVerify(true)
return webrtc.NewAPI(webrtc.WithSettingEngine(settingsEngine))
}