ability to use ICE or ICELite

This commit is contained in:
Craig 2020-04-05 07:07:45 +00:00
parent 853dd14386
commit 04033b664b
9 changed files with 112 additions and 69 deletions

View file

@ -7,10 +7,14 @@ import (
)
type Peer struct {
id string
manager *WebRTCManager
connection *webrtc.PeerConnection
mu sync.Mutex
id string
api *webrtc.API
engine *webrtc.MediaEngine
manager *WebRTCManager
settings *webrtc.SettingEngine
connection *webrtc.PeerConnection
configuration *webrtc.Configuration
mu sync.Mutex
}
func (peer *Peer) SignalAnswer(sdp string) error {