### NDI Routing Example Source: https://context7_llms Provides an example of how to implement NDI routing, allowing for the management and redirection of NDI streams within a network. ```c++ // NDI Routing functionality is typically handled by higher-level NDI tools or custom applications // that use NDI-FIND to discover sources and NDI-RECV/NDI-SEND to manage stream redirection. // Example concept: // 1. Use NDIlib_find_create_v2() to discover sources. // 2. Use NDIlib_recv_create_v2() to connect to a source. // 3. Use NDIlib_send_create_v2() to create a new output stream. // 4. Capture frames from the receiver and send them via the sender. // Specific code would depend on the routing logic implementation. ``` -------------------------------- ### NDI SDK Example Code Source: https://context7_llms Illustrates the usage of the NDI SDK for developing NDI-enabled applications. This section provides sample code demonstrating core functionalities. ```c++ #include int main() { // Initialize NDI library if (!NDIlib_initialize()) { // Error handling return 0; } // NDIlib_send_instance_t pNDI_send = NDIlib_send_create_instance(); // ... further NDI send operations ... // NDIlib_recv_instance_t pNDI_recv = NDIlib_recv_create_instance(); // ... further NDI receive operations ... // Destroy instances and shutdown NDI library // NDIlib_send_destroy(pNDI_send); // NDIlib_recv_destroy(pNDI_recv); NDIlib_destroy(); return 0; } ``` -------------------------------- ### NDI SDK - Using NDI with Hardware Source: https://context7_llms Guides for integrating NDI HX with hardware devices like cameras and network switches. ```APIDOC ## NDI HX Upgrades for Cameras ### Description Information on how to upgrade cameras to support NDI HX. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## How to Activate Panasonic Cameras for NDI HX1 — Step-by-Step ### Description Step-by-step guide to activate NDI HX1 on Panasonic cameras. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## Recommended Network Switch Settings for NDI ### Description Best practices for configuring network switches to optimize NDI performance in 2024. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A ``` -------------------------------- ### NDI SDK - Development Introduction Source: https://context7_llms Introduction to developing with the NDI SDK. ```APIDOC ## Introduction to NDI SDK Development ### Description An overview of the NDI SDK and its capabilities for developers. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A ``` -------------------------------- ### Dynamic Loading of NDI Libraries Source: https://context7_llms Explains how to dynamically load NDI libraries, which is useful for managing dependencies and ensuring compatibility across different NDI versions. ```c++ #include // NDIlib_initialize() will attempt to load the necessary libraries. // If custom loading is required, platform-specific dynamic library loading functions would be used. // For example, on Windows, LoadLibrary() and GetProcAddress(). // On Linux, dlopen() and dlsym(). // The standard initialization function handles most cases: if (!NDIlib_initialize()) { // Error handling for library loading failure } ``` -------------------------------- ### NDI-FIND Functionality Source: https://context7_llms Shows how to discover available NDI sources on the network. This involves creating an NDI finder instance and retrieving a list of sources. ```c++ #include NDIlib_find_instance_t pNDI_find = NDIlib_find_create_v2(); if (!pNDI_find) return false; NDIlib_source_t* pNDI_sources = nullptr; uint32_t num_sources = 0; // Get a list of available NDI sources if (NDIlib_find_get_sources(pNDI_find, &pNDI_sources, &num_sources, 1000)) { // Iterate through pNDI_sources to access discovered NDI sources for (uint32_t i = 0; i < num_sources; i++) { // Use pNDI_sources[i].p_name, pNDI_sources[i].p_url } NDIlib_free_sources(pNDI_find, pNDI_sources); } NDIlib_find_destroy(pNDI_find); ``` -------------------------------- ### Using H.264, H.265, and AAC Codecs Source: https://context7_llms Explains the integration and usage of H.264, H.265, and AAC codecs within the NDI SDK for compressed media transmission. ```c++ // Sending video frames with specific FourCC for H.264/H.265: // NDIlib_video_frame_v2_t video_frame; // video_frame.FourCC = NDIlib_FourCC_type_e::NDIlib_FourCC_compressed_HEVC; // Or NDIlib_FourCC_compressed_H264 // NDIlib_send_send_video_v2(pNDI_send, &video_frame); // For audio, AAC is often embedded or handled through separate audio frames. ``` -------------------------------- ### NDI SDK - Core Features Source: https://context7_llms Documentation on essential NDI SDK features like SDK, release notes, licensing, and core components. ```APIDOC ## NDI SDK ### Description Details about the NDI Software Development Kit. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI SDK Release Notes ### Description Information on updates and changes in various NDI SDK versions. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI SDK Licensing ### Description Information regarding the licensing terms for the NDI SDK. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI SDK Software Distribution ### Description Guidelines and information on distributing software that utilizes the NDI SDK. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI SDK CPU Requirements ### Description Details on the CPU requirements for running applications developed with the NDI SDK. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## Dynamic Loading of NDI Libraries ### Description Instructions on how to dynamically load NDI libraries for development. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI SDK Performance and Implementation ### Description Guidance on optimizing performance and implementing NDI SDK features effectively. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI SDK Startup and Shutdown ### Description Procedures for correctly starting and shutting down NDI SDK components. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI SDK Example Code ### Description Sample code snippets and examples to demonstrate NDI SDK usage. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI SDK Port Numbers ### Description Information about the network port numbers used by NDI for communication. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI SDK Configuration Files ### Description Details on configuration files used by the NDI SDK and their parameters. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI SDK Platform Considerations ### Description Information on platform-specific considerations when developing with the NDI SDK. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI-SEND ### Description Documentation for the NDI-SEND component of the SDK. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI-FIND ### Description Documentation for the NDI-FIND component of the SDK. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI-RECV ### Description Documentation for the NDI-RECV component of the SDK. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI-Recv Discovery, Monitor, and Control (v6.2+) ### Description Updated information as of Version 6.2 on discovering, monitoring, and controlling NDI sources using NDI-RECV. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI Routing ### Description Information on routing NDI sources within a network using the SDK. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## HDR Support in NDI ### Description Details on High Dynamic Range (HDR) support within the NDI SDK. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI SDK Command Line Tools ### Description Documentation for command-line utilities provided with the NDI SDK. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI SDK Frame Types ### Description Documentation on the common structures used for defining video, audio, and metadata frame types in NDI sending and receiving. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## Windows DirectShow Filter for NDI ### Description Information on the DirectShow filter for NDI on Windows platforms. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI SDK 3rd Party Rights ### Description Information regarding the rights and usage of third-party components within the NDI SDK. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI SDK Support ### Description Information on how to obtain support for the NDI SDK. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A ``` -------------------------------- ### NDI-RECV Functionality Source: https://context7_llms Illustrates how to receive NDI video and audio streams. This includes creating an NDI receiver instance and processing incoming media data. ```c++ #include // Assuming pNDI_recv is a valid NDIlib_recv_instance_t NDIlib_video_frame_v2_t video_frame; NDIlib_recv_ptz_status_t ptz_status; // Try to capture a video frame if (NDIlib_recv_capture_v2(pNDI_recv, &video_frame, nullptr, nullptr, 0) == NDIlib_frameType_Video) { // Process the received video frame NDIlib_recv_free_video_v2(pNDI_recv, &video_frame); } // Check for PTZ status updates if (NDIlib_recv_ptz_status(pNDI_recv, &ptz_status, 0)) { // Process PTZ status } ``` -------------------------------- ### NDI-SEND Functionality Source: https://context7_llms Demonstrates how to send NDI video and audio streams. This involves creating an NDI sender instance and configuring it to transmit media data. ```c++ #include // Assuming pNDI_send is a valid NDIlib_send_instance_t NDIlib_video_frame_v2_t video_frame; // Populate video_frame with your frame data // Send the video frame NDIlib_send_send_video_v2(pNDI_send, &video_frame); ``` -------------------------------- ### NDI SDK - Advanced Development Source: https://context7_llms Advanced topics for NDI SDK development, including advanced SDK features, review, and specific codec usage. ```APIDOC ## Advanced NDI SDK ### Description Information and guides for advanced development using the NDI SDK. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## Advanced NDI SDK Release Notes ### Description Release notes specific to the advanced features of the NDI SDK. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## Advanced NDI SDK Licensing ### Description Licensing information for advanced NDI SDK features. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## Advanced NDI SDK Overview ### Description A high-level overview of the advanced functionalities within the NDI SDK. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## Advanced NDI SDK Configuration Files ### Description Details on configuration files for advanced NDI SDK features. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI SDK Review ### Description A review of the NDI SDK, covering its architecture and key components. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ### Sending #### Asynchronous Sending Completions ##### Description Information on handling asynchronous sending completions in the NDI SDK. ##### Method N/A (Documentation Link) ##### Endpoint N/A ##### Parameters N/A ##### Request Example N/A ##### Response N/A --- #### NDI Sending On High Latency Connections ##### Description Strategies and techniques for sending NDI streams over high-latency network connections. ##### Method N/A (Documentation Link) ##### Endpoint N/A ##### Parameters N/A ##### Request Example N/A ##### Response N/A --- ### Receiving #### Custom Allocators ##### Description Details on implementing custom memory allocators for NDI receiving. ##### Method N/A (Documentation Link) ##### Endpoint N/A ##### Parameters N/A ##### Request Example N/A ##### Response N/A --- #### Dynamic Bandwidth Adjustment ##### Description Information on dynamically adjusting bandwidth during NDI receiving. ##### Method N/A (Documentation Link) ##### Endpoint N/A ##### Parameters N/A ##### Request Example N/A ##### Response N/A --- #### NDI RECV Event Monitoring and Commands ##### Description How to monitor events and send commands using NDI-RECV. ##### Method N/A (Documentation Link) ##### Endpoint N/A ##### Parameters N/A ##### Request Example N/A ##### Response N/A --- ### Finding #### Video Formats ##### Description Documentation on the various video formats supported by NDI receiving. ##### Method N/A (Documentation Link) ##### Endpoint N/A ##### Parameters N/A ##### Request Example N/A ##### Response N/A ------ ###### Receiver Codec Support Level ####### Description Information about the level of codec support provided by NDI receivers. ####### Method N/A (Documentation Link) ####### Endpoint N/A ####### Parameters N/A ####### Request Example N/A ####### Response N/A ------ ###### Frame Synchronization ####### Description Techniques and methods for achieving frame synchronization in NDI streams. ####### Method N/A (Documentation Link) ####### Endpoint N/A ####### Parameters N/A ####### Request Example N/A ####### Response N/A --- ## NDI SDK Genlock ### Description Information on Genlock synchronization within the NDI SDK. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- ## NDI SDK AV Sync ### Description Details and guidelines for Audio/Video synchronization in NDI applications. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- #### Guidelines for AV Sync ##### Description General guidelines for implementing and managing AV sync with NDI. ##### Method N/A (Documentation Link) ##### Endpoint N/A ##### Parameters N/A ##### Request Example N/A ##### Response N/A ------ #### Creating and Destroying Devices for AV Sync ##### Description Procedures for creating and destroying devices to manage AV sync. ##### Method N/A (Documentation Link) ##### Endpoint N/A ##### Parameters N/A ##### Request Example N/A ##### Response N/A ------ #### Recovering Audio for AV Sync ##### Description Methods for recovering audio streams to maintain AV sync. ##### Method N/A (Documentation Link) ##### Endpoint N/A ##### Parameters N/A ##### Request Example N/A ##### Response N/A --- ## Using H.264, H.265, and AAC Codecs with NDI SDK ### Description Guides on utilizing H.264, H.265, and AAC codecs for NDI streams. ### Method N/A (Documentation Link) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A --- #### Sending Audio Frames with Codecs ##### Description Instructions for sending audio frames using H.264, H.265, and AAC codecs. ##### Method N/A (Documentation Link) ##### Endpoint N/A ##### Parameters N/A ##### Request Example N/A ##### Response N/A ------ #### Sending Video Frames with Codecs ##### Description Instructions for sending video frames using H.264, H.265, and AAC codecs. ##### Method N/A (Documentation Link) ##### Endpoint N/A ##### Parameters N/A ##### Request Example N/A ##### Response N/A ------ #### H.264 Support in NDI SDK ##### Description Details on H.264 codec support within the NDI SDK. ##### Method N/A (Documentation Link) ##### Endpoint N/A ##### Parameters N/A ##### Request Example N/A ##### Response N/A ------ #### H.265 Support in NDI SDK ##### Description Details on H.265 codec support within the NDI SDK. ##### Method N/A (Documentation Link) ##### Endpoint N/A ##### Parameters N/A ##### Request Example N/A ##### Response N/A ``` -------------------------------- ### Frame Types and Structures Source: https://context7_llms Details the common structures used for defining NDI video, audio, and metadata frames. This is crucial for correctly formatting data when sending or receiving. ```c++ typedef struct { uint32_t xres; uint32_t yres; NDIlib_FourCC_type_e FourCC; // ... other video frame members ... } NDIlib_video_frame_v2_t; typedef struct { int sample_rate; int no_channels; int no_samples; // ... other audio frame members ... } NDIlib_audio_frame_v2_t; // Metadata frames and other types follow similar structure definitions. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.