Add `readLastImage()`
With the current API, readImage()
returns the image for a given idx. With idx == -1, the last image is returned but the image does not have metadata attached to identify the frame (frame idx).
/// Optionally returns a frame if
///
/// \param last_frame_idx The last frame that the client read (to avoid fetching the same data twice)
Data* readLastImage(int last_read_frame_idx);
There might also be an issue with DATA_ARRAY
DevEncoded that does not pack enough information in the header (such as frame idx).
Feature request from @valentin.valls for Flint