pub unsafe extern "C" fn vmeta_session_recording_write(
meta: *const vmeta_session,
cb: vmeta_session_recording_write_cb_t,
userdata: *mut c_void,
) -> c_intExpand description
Write session metadata as MP4 file ‘meta’ or ‘udta’ items. The function is called for a whole session metadata structure and calls the cb callback function for each ‘meta’ or ‘udta’ item that should be written. For each call to the cb function, the item type, key and value are given. Both key and value are null-terminated. @param meta: pointer to the session metadata structure @param cb: ‘meta’ or ‘udta’ item writing callback function @param userdata: ‘meta’ or ‘udta’ item writing callback function user data @return 0 on success, negative errno value in case of error