mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-22 02:57:51 +02:00
single port ice using tcp and udp mux (#106)
This commit is contained in:
parent
a213ae400a
commit
c97b1fc454
4 changed files with 97 additions and 34 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue