A basic video depacketizer. More...
Public Member Functions | |
BasicVideoDepacketizer (fm.liveswitch.VideoFormat format) | |
Initializes a new instance of the fm.liveswitch.BasicVideoDepacketizer class. More... | |
BasicVideoDepacketizer (fm.liveswitch.IVideoOutput input) | |
Initializes a new instance of the fm.liveswitch.BasicVideoDepacketizer class. More... | |
String | getLabel () |
Gets a label that identifies this class. More... | |
Public Member Functions inherited from fm.liveswitch.VideoDepacketizer< fm.liveswitch.VideoFragment > | |
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.VideoFragment | 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.VideoFragment > | |
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... | |
A basic video depacketizer.
fm.liveswitch.BasicVideoDepacketizer.BasicVideoDepacketizer | ( | fm.liveswitch.VideoFormat | format | ) |
Initializes a new instance of the fm.liveswitch.BasicVideoDepacketizer class.
format | The format. |
fm.liveswitch.BasicVideoDepacketizer.BasicVideoDepacketizer | ( | fm.liveswitch.IVideoOutput | input | ) |
Initializes a new instance of the fm.liveswitch.BasicVideoDepacketizer class.
input | The input. |
|
protected |
Creates a fragment from a data buffer.
header | The rtp header for this packet. |
dataBuffer | The data buffer. |
|
protected |
Destroys this instance.
String fm.liveswitch.BasicVideoDepacketizer.getLabel | ( | ) |
Gets a label that identifies this class.
|
protected |
Checks if the databuffer contains a keyframe.
inputBuffer | VideoBuffer containing video data. |