Sending
// Setup the structure describing the sender NDIlib_send_create_t send_create;
send_create.clock_audio = false; // Your audio is probably clocked by your own hardware.
send_create.clock_video = false; // Your video is probably clocked by your own hardware.
send_create.p_ndi_name = "Your name"; // Often configured in your web page. send_create.p_groups = NULL; // You can allow this to be configured in your web page.
const char *p_config_json = NULL; // You can override the default json file settings NDIlib_send_instance_t pSend = NDIlib_send_create_v2(&send_create, p_config_json);
NDIlib_metadata_frame_t NDI_product_type;
NDI_product_type.p_data = "<ndi_product long_name=\"NDILib Send Example.\" "
" short_name=\"NDILib Send\" "
" manufacturer=\"CoolCo, inc.\" "
" version=\"1.000.000\" "
" session=\"default\" "
" model_name=\"S1\" "
" serial=\"ABCDEFG\" />"; NDIlib_send_add_connection_metadata(pNDI_send, &NDI_product_type);
Main Video Format
Preview Video Format
Last updated
Was this helpful?

