vmeta_frame_v1_streaming_basic_to_json

Function vmeta_frame_v1_streaming_basic_to_json 

Source
pub unsafe extern "C" fn vmeta_frame_v1_streaming_basic_to_json(
    meta: *const vmeta_frame_v1_streaming_basic,
    jobj: *mut json_object,
) -> c_int
Expand description

Write “Parrot Video Streaming Metadata” v1 basic frame metadata to a JSON object. The jobj JSON object must have been previously allocated. The ownership of the JSON object stays with the caller. @param meta: pointer to a frame metadata structure @param jobj: pointer to the JSON object to write to (output) @return 0 on success, negative errno value in case of error