single port ice using tcp and udp mux (#106)

This commit is contained in:
Miroslav Šedivý
2021-12-03 23:54:07 +01:00
committed by GitHub
parent a213ae400a
commit c97b1fc454
4 changed files with 97 additions and 34 deletions

View File

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