NvNmos
Loading...
Searching...
No Matches
Public Attributes | List of all members
_NvNmosNodeConfig Struct Reference

#include <nvnmos.h>

Collaboration diagram for _NvNmosNodeConfig:
Collaboration graph
[legend]

Public Attributes

const char * host_name
 
const char ** host_addresses
 
unsigned int num_host_addresses
 
unsigned int http_port
 
const char * label
 
const char * description
 
NvNmosAssetConfigasset_tags
 
const char * seed
 
NvNmosReceiverConfigreceivers
 
unsigned int num_receivers
 
NvNmosSenderConfigsenders
 
unsigned int num_senders
 
nmos_connection_activation_callback connection_activated
 
nmos_channelmapping_activation_callback channelmapping_activated
 
nmos_logging_callback log_callback
 
int log_level
 
const char ** log_categories
 
unsigned int num_log_categories
 
NvNmosNetworkServicesConfignetwork_services
 

Detailed Description

Defines configuration settings used to create an NvNmosNodeServer. The structure should be zero initialized.

Member Data Documentation

◆ asset_tags

NvNmosAssetConfig* _NvNmosNodeConfig::asset_tags

Holds BCP-002-02 Asset Distinguishing Information. May be null.

◆ channelmapping_activated

nmos_channelmapping_activation_callback _NvNmosNodeConfig::channelmapping_activated

Holds the callback for handling an IS-08 Channel Mapping API activation (one Output at a time). May be null.

◆ connection_activated

nmos_connection_activation_callback _NvNmosNodeConfig::connection_activated

Holds the callback for handling an IS-05 Connection API activation. May be null.

◆ description

const char* _NvNmosNodeConfig::description

Holds the description of the node and device. May be null in which case the asset_tags are used to generate the description.

◆ host_addresses

const char** _NvNmosNodeConfig::host_addresses

Holds the host IP addresses, e.g. "192.0.2.0" and "198.51.100.0". The array's size must be equal to num_host_addresses. May be null in which case the system host addresses are determined automatically.

◆ host_name

const char* _NvNmosNodeConfig::host_name

Holds the fully-qualified host name, e.g. "nmos-node.local" or "nmos-node.example.com". May be null in which case the system host name is determined automatically.

◆ http_port

unsigned int _NvNmosNodeConfig::http_port

Holds the port number for the HTTP APIs, e.g. 80. May be zero in which case default ports are used for each API.

◆ label

const char* _NvNmosNodeConfig::label

Holds the label of the node and device. May be null in which case the asset_tags are used to generate the label.

◆ log_callback

nmos_logging_callback _NvNmosNodeConfig::log_callback

Holds the callback for handling log messages. May be null.

◆ log_categories

const char** _NvNmosNodeConfig::log_categories

Holds topics for which to make logging callbacks. The array's size must be equal to num_log_categories. May be null, in which case all topics are included. When set, the list is an allowlist ("" matches uncategorized) unless there are only negative entries (prefixed with '!', e.g. "!access"), in which case it is a blocklist; in an allowlist a matching negative overrides any positive match.

◆ log_level

int _NvNmosNodeConfig::log_level

Holds the minimum severity/verbosity level for which to make logging callbacks.

◆ network_services

NvNmosNetworkServicesConfig* _NvNmosNodeConfig::network_services

Holds configuration settings for network services to use. May be null in which case DNS-SD is used based on the host_name.

◆ num_host_addresses

unsigned int _NvNmosNodeConfig::num_host_addresses

Holds the number of host_addresses. May be zero.

◆ num_log_categories

unsigned int _NvNmosNodeConfig::num_log_categories

Holds the number of log_categories. May be zero.

◆ num_receivers

unsigned int _NvNmosNodeConfig::num_receivers

Holds the number of receivers. May be zero.

◆ num_senders

unsigned int _NvNmosNodeConfig::num_senders

Holds the number of senders. May be zero.

◆ receivers

NvNmosReceiverConfig* _NvNmosNodeConfig::receivers

Holds configuration settings for the receivers. The array's size must be equal to num_receivers. May be null.

◆ seed

const char* _NvNmosNodeConfig::seed

Holds a string used to ensure repeatable UUID generation. May be null in which case a random seed is used; not recommended.

◆ senders

NvNmosSenderConfig* _NvNmosNodeConfig::senders

Holds configuration settings for the senders. The array's size must be equal to num_senders. May be null.


The documentation for this struct was generated from the following file: