add iceTrickle for restart from config.

This commit is contained in:
Miroslav Šedivý
2021-06-27 22:05:37 +02:00
parent 09fdea1b11
commit 7df642a346
4 changed files with 7 additions and 5 deletions

View File

@ -9,7 +9,7 @@ type ICEServer struct {
}
type WebRTCPeer interface {
CreateOffer(ICETrickle bool, ICERestart bool) (*webrtc.SessionDescription, error)
CreateOffer(ICERestart bool) (*webrtc.SessionDescription, error)
SignalAnswer(sdp string) error
SignalCandidate(candidate webrtc.ICECandidateInit) error