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 () | |
A fragment of a video frame.
| fm.liveswitch.VideoFragment.VideoFragment | ( | ) |
| void fm.liveswitch.VideoFragment.destroy | ( | ) |
Destroys this fragment.
Reimplemented in fm.liveswitch.h265.Fragment, and fm.liveswitch.h264.Fragment.
| void fm.liveswitch.VideoFragment.free | ( | ) |
Frees the underlying data buffer.
| fm.liveswitch.DataBuffer fm.liveswitch.VideoFragment.getBuffer | ( | ) |
Gets the data.
| boolean fm.liveswitch.VideoFragment.getFirst | ( | ) |
Gets whether this is the first packet.
| boolean fm.liveswitch.VideoFragment.getLast | ( | ) |
Gets whether this is the last packet.
| void fm.liveswitch.VideoFragment.keep | ( | ) |
Keeps the underlying data buffer.
| void fm.liveswitch.VideoFragment.setBuffer | ( | fm.liveswitch.DataBuffer | value | ) |
Sets the data.
| void fm.liveswitch.VideoFragment.setFirst | ( | boolean | value | ) |
Sets whether this is the first packet.
| void fm.liveswitch.VideoFragment.setLast | ( | boolean | value | ) |
Sets whether this is the last packet.