Archived
2
0

Offer ICERestart

This commit is contained in:
Marcel Battista 2021-02-14 23:34:01 +00:00
parent e57fe5efac
commit 646e8af042

View File

@ -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
} }