Documentation ¶
Overview ¶
Package formatprocessor processes RTP packets into Units when can then be re-encoded heavily copied from https://github.com/bluenviron/mediamtx/blob/main/internal/formatprocessor/h264.go https://github.com/bluenviron/mediamtx/blob/main/internal/unit/h264.go & related package & the rest of that package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
Base contains fields shared across all units.
func (*Base) GetRTPPackets ¶
GetRTPPackets implements Unit.
type Processor ¶
type Processor interface { // process a Unit. ProcessUnit(u Unit) error // process a RTP packet and convert it into a unit. ProcessRTPPacket( pkt *rtp.Packet, ntp time.Time, pts time.Duration, hasNonRTSPReaders bool, ) (Unit, error) }
Processor processes RTP packets & turns them into Units.
Click to show internal directories.
Click to hide internal directories.