Documentation ¶ Index ¶ type Camera func (c *Camera) Attach(cid string, pc *webrtc.PeerConnection) error func (c *Camera) Check() error type Session func (s *Session) Put(pkt *av.Packet) type Stream func (t *Stream) Write(pkt *av.Packet) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Camera ¶ type Camera struct { Url string Audio bool // contains filtered or unexported fields } func (*Camera) Attach ¶ func (c *Camera) Attach(cid string, pc *webrtc.PeerConnection) error func (*Camera) Check ¶ func (c *Camera) Check() error type Session ¶ type Session struct { // contains filtered or unexported fields } func (*Session) Put ¶ func (s *Session) Put(pkt *av.Packet) type Stream ¶ type Stream struct { // contains filtered or unexported fields } func (*Stream) Write ¶ func (t *Stream) Write(pkt *av.Packet) error Source Files ¶ View all Source files camera.go factory.go session.go stream.go Click to show internal directories. Click to hide internal directories.