sfu node always pick ice controlled role(lite) (#322)
* sfu node always pick ice controlled role(lite) * fix test case Co-authored-by: cnderrauber <zengjie9004@gmail.com>
This commit is contained in:
co-authored by
cnderrauber
parent
9d74d99fed
commit
54e13d20bb
@@ -62,6 +62,7 @@ func NewWebRTCConfig(conf *config.Config, externalIP string) (*WebRTCConfig, err
|
||||
s := webrtc.SettingEngine{
|
||||
LoggerFactory: serverlogger.LoggerFactory(),
|
||||
}
|
||||
s.SetLite(true)
|
||||
|
||||
if externalIP != "" {
|
||||
s.SetNAT1To1IPs([]string{externalIP}, webrtc.ICECandidateTypeHost)
|
||||
|
||||
Reference in New Issue
Block a user