mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
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
|
||||
}
|
||||
|
||||
description, err := connection.CreateOffer(nil)
|
||||
description, err := connection.CreateOffer(&webrtc.OfferOptions{ICERestart: true})
|
||||
if err != nil {
|
||||
return "", manager.config.ICELite, manager.config.ICEServers, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user