pub unsafe extern "C" fn vmeta_frame_v1_streaming_basic_read(
buf: *mut vmeta_buffer,
meta: *mut vmeta_frame_v1_streaming_basic,
) -> c_intExpand description
Read “Parrot Video Streaming Metadata” v1 basic frame metadata. This function fills the supplied structure with the deserialized metadata. The pos field in the buf structure must be set to the starting position for reading (can be 0 if no previous data is present in the buffer). The size of the buffer (len field) must be sufficient to allow reading the metadata otherwise an error is returned. The ownership of the buffer stays with the caller. @param buf: pointer to the buffer structure @param meta: pointer to the frame metadata structure (output) @return 0 on success, negative errno value in case of error