Documentation ¶ Overview ¶ Package formatprocessor contains code to cleanup and normalize streams. Index ¶ type Processor func New(udpMaxPayloadSize int, forma formats.Format, generateRTPPackets bool, ...) (Processor, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Processor ¶ type Processor interface { // cleans and normalizes a data unit. Process(unit.Unit, bool) error // wraps a RTP packet into a Unit. UnitForRTPPacket(pkt *rtp.Packet, ntp time.Time) unit.Unit } Processor cleans and normalizes streams. func New ¶ func New( udpMaxPayloadSize int, forma formats.Format, generateRTPPackets bool, log logger.Writer, ) (Processor, error) New allocates a Processor. Source Files ¶ View all Source files av1.go generic.go h264.go h265.go mpeg1audio.go mpeg4audio_generic.go mpeg4audio_latm.go opus.go processor.go vp8.go vp9.go Click to show internal directories. Click to hide internal directories.