Offer ICERestart
This commit is contained in:
parent
e57fe5efac
commit
646e8af042
@ -152,7 +152,7 @@ func (manager *WebRTCManager) CreatePeer(id string, session types.Session) (stri
|
|||||||
return "", manager.config.ICELite, manager.config.ICEServers, err
|
return "", manager.config.ICELite, manager.config.ICEServers, err
|
||||||
}
|
}
|
||||||
|
|
||||||
description, err := connection.CreateOffer(nil)
|
description, err := connection.CreateOffer(&webrtc.OfferOptions{ICERestart: true})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", manager.config.ICELite, manager.config.ICEServers, err
|
return "", manager.config.ICELite, manager.config.ICEServers, err
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user