Documentation ¶
Overview ¶
credit to https://github.com/poi5305/go-yuv2webRTC/blob/master/webrtc/webrtc.go
credit to https://github.com/poi5305/go-yuv2webRTC/blob/master/webrtc/webrtc.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InputDataPair ¶
type InputDataPair struct {
// contains filtered or unexported fields
}
type WebRTC ¶
type WebRTC struct { ID string // for yuvI420 image ImageChannel chan []byte AudioChannel chan []byte InputChannel chan int Done bool RoomID string // contains filtered or unexported fields }
WebRTC connection
func (*WebRTC) AddCandidate ¶
func (w *WebRTC) AddCandidate(candidate webrtc.ICECandidateInit)
TODO: Take a look at this
func (*WebRTC) AttachRoomID ¶
Click to show internal directories.
Click to hide internal directories.