WHIP passthrough ingress has been failing DTLS
This commit is contained in:
cnderrauber authored and GitHub committed 2026-10-27 21:04:38 +08:00
1 parent 08221befb6
commit 37901309a3
1 file changed
-4
-4
View File
@@ -81,10 +81,6 @@ func NewWebRTCConfig(conf *config.Config) (*WebRTCConfig, error) {
// we don't want to use active TCP on a server, clients should be dialing
webRTCConfig.SettingEngine.DisableActiveTCP(true)
if rtcConf.UseICELite {
_ = webRTCConfig.SettingEngine.SetAnsweringDTLSRole(webrtc.DTLSRoleServer)
}
if rtcConf.PacketBufferSize == 0 {
rtcConf.PacketBufferSize = 500
}