Documentation
¶
Index ¶
- Variables
- type Clock
- type PCMFrame
- type PlaybackStatus
- type Player
- type Ring
- func (r *Ring) Capacity() int
- func (r *Ring) Flush(predicate func(interface{}) bool) int
- func (r *Ring) Free() int
- func (r *Ring) IsEmpty() bool
- func (r *Ring) IsFull() bool
- func (r *Ring) Length() int
- func (r *Ring) Peek() interface{}
- func (r *Ring) Pop() interface{}
- func (r *Ring) Push(c interface{})
- func (r *Ring) Reset()
- func (r *Ring) TryPeek() (b interface{}, err error)
- func (r *Ring) TryPop() (b interface{}, err error)
- func (r *Ring) TryPush(c interface{}) error
- type Server
- type TcpPacket
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrIsFull = errors.New("ring is full") ErrIsEmpty = errors.New("ring is empty") )
Functions ¶
This section is empty.
Types ¶
type Clock ¶
type Clock struct {
// contains filtered or unexported fields
}
func (*Clock) AnchorTime ¶
AnchorTime setup anchor time using the real clock virtualAnchorTime - network Time (using PTP) of the anchorTime rtpTime Timestamp - monotonic counter of frames
func (*Clock) CurrentRtpTime ¶
func (*Clock) IncRtpTime ¶
func (c *Clock) IncRtpTime()
type PCMFrame ¶
type PCMFrame struct {
TcpPacket
// contains filtered or unexported fields
}
type Player ¶
type Player struct {
ControlChannel chan globals.ControlMessage
Status PlaybackStatus
// contains filtered or unexported fields
}
type Ring ¶
type Ring struct {
// contains filtered or unexported fields
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) SetRateAnchorTime ¶
Click to show internal directories.
Click to hide internal directories.