fm.liveswitch.vp9.Depacketizer Class Reference

A VP9 depacketizer. More...

Public Member Functions

 Depacketizer ()
 Initializes a new instance of the fm.liveswitch.vp9.Depacketizer class. More...
 
 Depacketizer (fm.liveswitch.IVideoOutput input)
 Initializes a new instance of the fm.liveswitch.vp9.Depacketizer class. More...
 
String getLabel ()
 Gets a label that identifies this class. More...
 
boolean getSequenceNumberingViolated ()
 Gets whether RTP sequence numbering has been violated. More...
 
- Public Member Functions inherited from fm.liveswitch.VideoDepacketizer< fm.liveswitch.vp9.Fragment >
boolean getDelayDepacketizeOnPendingKeyFrame ()
 Gets a flag indicating whether depacketizing should be bypassed for incoming media packets when a key frame request has been made via a PLI message. More...
 
long getFramesCorrupted ()
 Gets the number of corrupted frames. More...
 
long getFramesDropped ()
 Gets the number of dropped frames. More...
 
long getFramesReceived ()
 Gets the number of received frames. More...
 
void setDelayDepacketizeOnPendingKeyFrame (boolean value)
 Sets a flag indicating whether depacketizing should be bypassed for incoming media packets when a key frame request has been made via a PLI message. More...
 
 VideoDepacketizer (fm.liveswitch.VideoFormat format)
 Initializes a new instance of the fm.liveswitch.VideoDepacketizer class. More...
 
 VideoDepacketizer (fm.liveswitch.IVideoOutput input)
 Initializes a new instance of the fm.liveswitch.VideoDepacketizer class. More...
 
 VideoDepacketizer (fm.liveswitch.VideoFormat inputFormat, fm.liveswitch.VideoFormat outputFormat)
 Initializes a new instance of the fm.liveswitch.VideoDepacketizer class. More...
 

Protected Member Functions

fm.liveswitch.vp9.Fragment doCreateFragment (fm.liveswitch.RtpPacketHeader header, fm.liveswitch.DataBuffer dataBuffer)
 Creates a fragment from a data buffer. More...
 
void doDestroy ()
 Destroys this instance. More...
 
boolean isKeyFrame (fm.liveswitch.DataBuffer inputBuffer)
 Checks if the databuffer contains a keyframe. More...
 
- Protected Member Functions inherited from fm.liveswitch.VideoDepacketizer< fm.liveswitch.vp9.Fragment >
abstract TFragment doCreateFragment (fm.liveswitch.RtpPacketHeader header, fm.liveswitch.DataBuffer dataBuffer)
 Creates a fragment from a data buffer. More...
 
void doDestroy ()
 Destroys this instance. More...
 
void doProcessFrame (fm.liveswitch.VideoFrame frame, fm.liveswitch.VideoBuffer inputBuffer)
 Processes a frame. More...
 
void doProcessTrackStatsFromInput (fm.liveswitch.MediaTrackStats trackStats)
 Process track stats from an input. More...
 
boolean getAllowDiagnosticTimer ()
 Gets whether this pipe is allowed to be timed. More...
 
boolean getDelayDepacketize ()
 Gets a value indicating whether depacketizing should be delayed. More...
 
boolean isGapAllowed (TFragment fragment, TFragment lastFragment)
 Determines whether a gap between two fragments is allowed. More...
 
abstract boolean isKeyFrame (fm.liveswitch.DataBuffer inputBuffer)
 Determines whether a buffer represents the start of a keyframe. More...
 
void sendKeyFrameRequest (String reason)
 Sends a key-frame request. More...
 

Detailed Description

A VP9 depacketizer.

Constructor & Destructor Documentation

◆ Depacketizer() [1/2]

fm.liveswitch.vp9.Depacketizer.Depacketizer ( )

Initializes a new instance of the fm.liveswitch.vp9.Depacketizer class.

◆ Depacketizer() [2/2]

fm.liveswitch.vp9.Depacketizer.Depacketizer ( fm.liveswitch.IVideoOutput  input)

Initializes a new instance of the fm.liveswitch.vp9.Depacketizer class.

Parameters
inputThe input.

Member Function Documentation

◆ doCreateFragment()

fm.liveswitch.vp9.Fragment fm.liveswitch.vp9.Depacketizer.doCreateFragment ( fm.liveswitch.RtpPacketHeader  header,
fm.liveswitch.DataBuffer  dataBuffer 
)
protected

Creates a fragment from a data buffer.

Parameters
headerThe rtp header for this packet.
dataBufferThe data buffer.

◆ doDestroy()

void fm.liveswitch.vp9.Depacketizer.doDestroy ( )
protected

Destroys this instance.

◆ getLabel()

String fm.liveswitch.vp9.Depacketizer.getLabel ( )

Gets a label that identifies this class.

◆ getSequenceNumberingViolated()

boolean fm.liveswitch.vp9.Depacketizer.getSequenceNumberingViolated ( )

Gets whether RTP sequence numbering has been violated.

◆ isKeyFrame()

boolean fm.liveswitch.vp9.Depacketizer.isKeyFrame ( fm.liveswitch.DataBuffer  inputBuffer)
protected

Checks if the databuffer contains a keyframe.

Parameters
inputBufferVideoBuffer containing video data.