Documentation ¶
Overview ¶
Package rtptime contains a time decoder and encoder.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
Encoder is a RTP timestamp encoder.
func NewEncoder ¶
NewEncoder allocates an Encoder.
type GlobalDecoder ¶
type GlobalDecoder struct {
// contains filtered or unexported fields
}
GlobalDecoder is a RTP timestamp decoder.
func NewGlobalDecoder ¶
func NewGlobalDecoder() *GlobalDecoder
NewGlobalDecoder allocates a GlobalDecoder.
func (*GlobalDecoder) Decode ¶
func (d *GlobalDecoder) Decode( track GlobalDecoderTrack, pkt *rtp.Packet, ) (time.Duration, bool)
Decode decodes a timestamp.
Click to show internal directories.
Click to hide internal directories.