fm.liveswitch.VideoFragment Class Reference

A fragment of a video frame. More...

Public Member Functions

void destroy ()
 Destroys this fragment. More...
 
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

A fragment of a video frame.

Constructor & Destructor Documentation

◆ VideoFragment()

fm.liveswitch.VideoFragment.VideoFragment ( )

Member Function Documentation

◆ destroy()

void fm.liveswitch.VideoFragment.destroy ( )

Destroys this fragment.

Reimplemented in fm.liveswitch.h265.Fragment, and fm.liveswitch.h264.Fragment.

◆ free()

void fm.liveswitch.VideoFragment.free ( )

Frees the underlying data buffer.

◆ getBuffer()

fm.liveswitch.DataBuffer fm.liveswitch.VideoFragment.getBuffer ( )

Gets the data.

◆ getFirst()

boolean fm.liveswitch.VideoFragment.getFirst ( )

Gets whether this is the first packet.

◆ getLast()

boolean fm.liveswitch.VideoFragment.getLast ( )

Gets whether this is the last packet.

◆ keep()

void fm.liveswitch.VideoFragment.keep ( )

Keeps the underlying data buffer.

◆ setBuffer()

void fm.liveswitch.VideoFragment.setBuffer ( fm.liveswitch.DataBuffer  value)

Sets the data.

◆ setFirst()

void fm.liveswitch.VideoFragment.setFirst ( boolean  value)

Sets whether this is the first packet.

◆ setLast()

void fm.liveswitch.VideoFragment.setLast ( boolean  value)

Sets whether this is the last packet.