mirror of
https://github.com/livekit/livekit.git
synced 2026-10-28 12:13:04 +00:00
1 parent
9644b99247
commit
2ab2e15140
1 file changed
-4
@@ -79,10 +79,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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user