fm.liveswitch.h264.Fragment Class Reference

An H.264 packet fragment. More...

Public Member Functions

void destroy ()
 Destroys this fragment. More...
 
 Fragment (fm.liveswitch.RtpPacketHeader header, fm.liveswitch.DataBuffer dataBuffer)
 Initializes a new instance of the fm.liveswitch.h264.Fragment class. More...
 
- Public Member Functions inherited from fm.liveswitch.VideoFragment
void free ()
 Frees the underlying data buffer. More...
 
fm.liveswitch.DataBuffer getBuffer ()
 Gets the data. More...
 
boolean getFirst ()
 Gets whether this is the first packet. More...
 
boolean getLast ()
 Gets whether this is the last packet. More...
 
void keep ()
 Keeps the underlying data buffer. More...
 
void setBuffer (fm.liveswitch.DataBuffer value)
 Sets the data. More...
 
void setFirst (boolean value)
 Sets whether this is the first packet. More...
 
void setLast (boolean value)
 Sets whether this is the last packet. More...
 
 VideoFragment ()
 

Detailed Description

An H.264 packet fragment.

Constructor & Destructor Documentation

◆ Fragment()

fm.liveswitch.h264.Fragment.Fragment ( fm.liveswitch.RtpPacketHeader  header,
fm.liveswitch.DataBuffer  dataBuffer 
)

Initializes a new instance of the fm.liveswitch.h264.Fragment class.

Parameters
headerThe rtp packet header.
dataBufferThe data buffer.

Member Function Documentation

◆ destroy()

void fm.liveswitch.h264.Fragment.destroy ( )

Destroys this fragment.

Reimplemented from fm.liveswitch.VideoFragment.