Documentation
¶
Overview ¶
Package arrival provides a pion interceptor that timestamps incoming RTP packets at the network layer (before pion's internal jitter buffer). This gives callers access to true network arrival times instead of the Track.Read() return time, which is smoothed by internal buffering.
Index ¶
Constants ¶
View Source
const AttrKeyArrivalTimeUS = "arrival_us"
AttrKeyArrivalTimeUS is the interceptor attribute key for the packet arrival time in Unix microseconds.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct{}
Factory creates timestampInterceptor instances.
func (Factory) NewInterceptor ¶
func (f Factory) NewInterceptor(_ string) (interceptor.Interceptor, error)
Click to show internal directories.
Click to hide internal directories.