diff --git a/pkg/rtc/config.go b/pkg/rtc/config.go index ae3cb0c41..d6b248db7 100644 --- a/pkg/rtc/config.go +++ b/pkg/rtc/config.go @@ -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 }