Documentation ¶
Index ¶
Constants ¶
View Source
const ( SessionTerminatedErrorCode = 0x00 GenericErrorCode = 0x01 GoAwayErrorCode = 0x10 )
View Source
const DRAFT_IETF_MOQ_TRANSPORT_00 = 0
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnnouncementHandler ¶
type Peer ¶
type Peer struct {
// contains filtered or unexported fields
}
func (*Peer) GetConnection ¶
func (p *Peer) GetConnection() connection
func (*Peer) OnAnnouncement ¶
func (p *Peer) OnAnnouncement(callback AnnouncementHandler)
func (*Peer) OnSubscription ¶
func (p *Peer) OnSubscription(callback SubscriptionHandler)
type PeerHandler ¶
type PeerHandler interface {
Handle(*Peer)
}
type PeerHandlerFunc ¶
type PeerHandlerFunc func(*Peer)
func (PeerHandlerFunc) Handle ¶
func (h PeerHandlerFunc) Handle(p *Peer)
type ReceiveTrack ¶
type ReceiveTrack struct {
// contains filtered or unexported fields
}
type Server ¶
type Server struct { Handler PeerHandler TLSConfig *tls.Config }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.