Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ Configuration: webrtc.Configuration{ ICEServers: []webrtc.ICEServer{{URLs: []string{"stun:stun.l.google.com:19302"}}}, }, VideoCodec: webrtc.MimeTypeH264, }
Functions ¶
func NewPeerConnection ¶
Types ¶
type Config ¶
type WebRTC ¶
type WebRTC struct { ID string ImageChannel chan *rtp.Packet AudioChannel chan *rtp.Packet InputChannel chan []byte Done bool // contains filtered or unexported fields }
func (*WebRTC) AddCandidate ¶
func (*WebRTC) SetRemoteSDP ¶
func (*WebRTC) StartClient ¶
StartClient start webrtc
Click to show internal directories.
Click to hide internal directories.