AJA NTV2 SDK  17.1.1.1245
NTV2 SDK 17.1.1.1245
ntv2config2110.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MIT */
8 #ifndef NTV2_2110CONFIG_H
9 #define NTV2_2110CONFIG_H
10 
11 #include "ntv2card.h"
12 #include "ntv2enums.h"
13 #include "ntv2registers2110.h"
14 #include "ntv2mbcontroller.h"
15 #include <string>
16 #include <iostream>
17 #include <fstream>
18 #include <sstream>
19 
24 #define RX_USE_SFP_IP BIT(31)
25 #define IP_STRSIZE 32
26 
27 
28 typedef enum
29 {
30  kNetworkData2110 = NTV2_FOURCC('n','t','1','3'), // 4CC of network config data
31  kTransmitVideoData2110 = NTV2_FOURCC('t','v','1','3'), // 4CC of video transmit config data
32  kTransmitAudioData2110 = NTV2_FOURCC('t','a','1','3'), // 4CC of audio transmit config data
33  kTransmitAncData2110 = NTV2_FOURCC('t','n','1','3'), // 4CC of anc transmit config data
34  kReceiveVideoData2110 = NTV2_FOURCC('r','v','1','3'), // 4CC of video receive config data
35  kReceiveAudioData2110 = NTV2_FOURCC('r','a','1','3'), // 4CC of audio receive config data
36  kReceiveAncData2110 = NTV2_FOURCC('r','n','1','3'), // 4CC of anc receive config data
37  kChStatusData2110 = NTV2_FOURCC('s','t','1','3') // 4CC of channel status config data
39 
40 typedef enum
41 {
46 
47 // force 1 byte alignment so can work across 32/64 bit apps
48 #pragma pack(push,1)
49 
50 typedef struct
51 {
53  char remoteIP[2][IP_STRSIZE];
54  uint32_t remotePort[2];
55  uint32_t localPort[2];
56  uint32_t sfpEnable[2];
57  uint32_t ttl;
58  uint32_t ssrc;
59  uint32_t payloadType;
62  uint32_t enable;
63  uint8_t unused[12];
65 
66 typedef struct
67 {
70  char remoteIP[2][IP_STRSIZE];
71  uint32_t localPort[2];
72  uint32_t remotePort[2];
73  uint32_t sfpEnable[2];
74  uint32_t ttl;
75  uint32_t ssrc;
76  uint32_t payloadType;
77  uint32_t numAudioChannels;
80  uint32_t enable;
81  uint8_t unused[16];
83 
84 typedef struct
85 {
87  char remoteIP[2][IP_STRSIZE];
88  uint32_t localPort[2];
89  uint32_t remotePort[2];
90  uint32_t sfpEnable[2];
91  uint32_t ttl;
92  uint32_t ssrc;
93  uint32_t payloadType;
94  uint32_t enable;
95  uint8_t unused[16];
97 
98 typedef struct
99 {
101  char sourceIP[2][IP_STRSIZE];
102  char destIP[2][IP_STRSIZE];
103  uint32_t sourcePort[2];
104  uint32_t destPort[2];
105  uint32_t sfpEnable[2];
106  uint32_t vlan;
107  uint32_t ssrc;
108  uint32_t payloadType;
110  uint32_t enable;
111  uint8_t unused[16];
113 
114 typedef struct
115 {
118  char sourceIP[2][IP_STRSIZE];
119  char destIP[2][IP_STRSIZE];
120  uint32_t sourcePort[2];
121  uint32_t destPort[2];
122  uint32_t sfpEnable[2];
123  uint32_t vlan;
124  uint32_t ssrc;
125  uint32_t payloadType;
128  uint32_t enable;
129  uint8_t unused[16];
131 
132 typedef struct
133 {
135  char sourceIP[2][IP_STRSIZE];
136  char destIP[2][IP_STRSIZE];
137  uint32_t sourcePort[2];
138  uint32_t destPort[2];
139  uint32_t sfpEnable[2];
140  uint32_t vlan;
141  uint32_t ssrc;
142  uint32_t payloadType;
143  uint32_t enable;
144  uint8_t unused[16];
146 
147 typedef struct
148 {
150  char ipAddress[IP_STRSIZE];
151  char subnetMask[IP_STRSIZE];
152  char gateWay[IP_STRSIZE];
153  uint32_t enable;
154  uint8_t unused[16];
155 } SFPData2110;
156 
157 typedef struct
158 {
159  uint32_t txChStatus[4];
160  uint32_t rxChStatus[4];
161  uint8_t unused[16];
162 } IpStatus2110;
163 
164 typedef struct
165 {
166  bool setup4k;
167  uint32_t ptpDomain;
168  uint8_t ptpPreferredGMID[8];
169  uint32_t numSFPs;
170  SFPData2110 sfp[2];
171  bool multiSDP;
173  uint32_t rxMatchOverride;
174  uint8_t unused[10];
176 
177 typedef struct
178 {
180  TxVideoChData2110 txVideoCh[4];
182 
183 typedef struct
184 {
186  TxAudioChData2110 txAudioCh[4];
188 
189 typedef struct
190 {
192  TxAncChData2110 txAncCh[4];
194 
195 typedef struct
196 {
198  RxVideoChData2110 rxVideoCh[4];
200 
201 typedef struct
202 {
204  RxAudioChData2110 rxAudioCh[4];
206 
207 typedef struct
208 {
210  RxAncChData2110 rxAncCh[4];
212 
213 #pragma pack(pop)
214 
216  { return (NTV2Stream)(NTV2_VIDEO1_STREAM+ch); }
218  { return (int)(s); }
219 
221  { return (NTV2Stream)(NTV2_AUDIO1_STREAM+ch); }
223  { return (int)(s >= NTV2_AUDIO1_STREAM ? s-NTV2_AUDIO1_STREAM : 0); }
224 
225 inline NTV2Stream ChToAncStream(int ch)
226  { return (NTV2Stream)(NTV2_ANC1_STREAM+ch); }
228  { return (int)(s >= NTV2_ANC1_STREAM ? s-NTV2_ANC1_STREAM : 0); }
229 
235 {
236  public:
237  tx_2110Config() { init(); }
238 
239  void init();
240 
241  bool operator != ( const tx_2110Config &other );
242  bool operator == ( const tx_2110Config &other );
243 
244  public:
245  std::string remoteIP[2];
246  uint32_t localPort[2];
247  uint32_t remotePort[2];
248  uint16_t payloadType;
249  uint8_t tos; // type of service
250  uint8_t ttl; // time to live
251  uint32_t ssrc;
258 };
259 
265 {
266  public:
267  rx_2110Config() { init(); }
268 
269  void init();
270 
271  bool operator != ( const rx_2110Config &other );
272  bool operator == ( const rx_2110Config &other );
273 
274  public:
275  uint32_t rxMatch;
276  std::string sourceIP;
277  std::string destIP;
279  uint32_t sourcePort;
280  uint32_t destPort;
281  uint32_t ssrc;
282  uint16_t vlan;
283  uint16_t payloadType;
288 };
289 
290 typedef struct
291 {
292  rx_2110Config rx2110Config[4];
294 
295 
301 {
302  friend class CKonaIpJsonSetup;
303 public:
304  CNTV2Config2110 (CNTV2Card & device);
305  ~CNTV2Config2110();
306 
307  bool SetNetworkConfiguration (const eSFP sfp, const IPVNetConfig & netConfig);
308  bool GetNetworkConfiguration (const eSFP sfp, IPVNetConfig & netConfig);
309  bool SetNetworkConfiguration (const eSFP sfp, const std::string localIPAddress, const std::string subnetMask, const std::string gateway);
310  bool GetNetworkConfiguration (const eSFP sfp, std::string & localIPAddress, std::string & subnetMask, std::string & gateway);
311  bool DisableNetworkInterface (const eSFP sfp);
312  bool SetRxStreamConfiguration (const eSFP sfp, const NTV2Stream stream, const rx_2110Config & rxConfig);
313  bool GetRxStreamConfiguration (const eSFP sfp, const NTV2Stream stream, rx_2110Config & rxConfig);
314  bool SetRxStreamEnable (const eSFP sfp, const NTV2Stream stream, bool enable);
315  bool GetRxStreamEnable (const eSFP sfp, const NTV2Stream stream, bool & enabled);
316  bool GetRxPacketCount (const NTV2Stream stream, uint32_t &packets);
317  bool GetRxByteCount (const NTV2Stream stream, uint32_t &bytes);
318  bool GetRxByteCount (const eSFP sfp, uint64_t &bytes);
319 
320  bool SetTxStreamConfiguration (const NTV2Stream stream, const tx_2110Config & txConfig);
321  bool GetTxStreamConfiguration (const NTV2Stream stream, tx_2110Config & txConfig);
322  bool SetTxStreamEnable (const NTV2Stream stream, bool enableSfp1, bool enableSfp2 = false);
323  bool GetTxStreamEnable (const NTV2Stream stream, bool & sfp1Enabled, bool & sfp2Enabled);
324  bool GetTxPacketCount (NTV2Stream stream, uint32_t &packets);
325  bool GetTxByteCount (const eSFP sfp, uint64_t &bytes);
326 
327  bool SetPTPDomain (const uint8_t domain);
328  bool GetPTPDomain (uint8_t &domain);
329  bool SetPTPPreferredGrandMasterId (const uint8_t id[8]);
330  bool GetPTPPreferredGrandMasterId (uint8_t (&id)[8]);
331  bool GetPTPStatus (PTPStatus & ptpStatus);
332 
333  bool Set4KModeEnable (const bool enable);
334  bool Get4KModeEnable (bool & enable);
335 
347  bool SetAudioCombineEnable (const bool enable);
348 
359  bool GetAudioCombineEnable (bool & enable);
360 
361  bool SetIPServicesControl (const bool enable, const bool forceReconfig);
362  bool GetIPServicesControl (bool & enable, bool & forceReconfig);
363 
364  std::string GetSDPUrl (const eSFP sfp, const NTV2Stream stream);
365  std::string GetGeneratedSDP (bool enabledSfp1, bool enabledSfp2, const NTV2Stream stream);
366  bool GetActualSDP (std::string url, std::string & sdp);
367  bool ExtractRxVideoConfigFromSDP (std::string sdp, rx_2110Config & rxConfig);
368  bool ExtractRxVideoConfigFromSDP (std::string sdp, multiRx_2110Config & rxConfig);
369  bool ExtractRxAudioConfigFromSDP (std::string sdp, rx_2110Config & rxConfig);
370  bool ExtractRxAncConfigFromSDP (std::string sdp, rx_2110Config & rxConfig);
371 
380  bool SetIGMPDisable (const eSFP sfp, const bool disable);
381  bool GetIGMPDisable (const eSFP sfp, bool & disabled);
382 
383  bool SetIGMPVersion (const eIGMPVersion_t version);
384  bool GetIGMPVersion (eIGMPVersion_t & version);
385 
386  void SetBiDirectionalChannels (const bool bidirectional) { _biDirectionalChannels = bidirectional;}
387  bool GetBiDirectionalChannels (void) {return _biDirectionalChannels;}
388 
389  bool GetMACAddress (const eSFP port, const NTV2Stream stream, std::string remoteIP, uint32_t & hi, uint32_t & lo);
390 
391  bool GetSFPMSAData (eSFP port, SFPMSAData & data);
392  bool GetLinkStatus (eSFP port, SFPStatus & sfpStatus);
393 
394  bool GenSDP (bool enableSfp1, bool enableSfp2, const NTV2Stream stream, bool pushit=true);
395 
396  static uint32_t Get2110TxStreamIndex (NTV2Stream stream );
397  static uint32_t GetDecapsulatorAddress (eSFP sfp, NTV2Stream stream);
398 
399  bool SetLLDPInfo (std::string sysname);
400  bool GetLLDPInfo (std::string &chassisId0, std::string &portId0,
401  std::string &chassisId1, std::string &portId1);
402  uint64_t GetNTPTimestamp (void);
403 
404  // If method returns false call this to get details
405  std::string getLastError (void);
406  NTV2IpError getLastErrorCode (void);
407 
408  static uint32_t videoPacketizers[4];
409  static uint32_t videoRGB12Packetizers[4];
410  static uint32_t audioPacketizers[4];
411 
412  static uint32_t videoDepacketizers[4];
413  static uint32_t audioDepacketizers[4];
414 
415 protected:
416  uint32_t GetDepacketizerAddress (const NTV2Stream stream);
417  uint32_t GetPacketizerAddress (const NTV2Stream stream, const VPIDSampling sampling);
418  uint32_t GetFramerAddress (const eSFP sfp, const NTV2Stream stream);
419  void SelectTxFramerChannel (const NTV2Stream stream, const uint32_t baseAddr);
420  void AcquireFramerControlAccess (const uint32_t baseAddr);
421  void ReleaseFramerControlAccess (const uint32_t baseAddr);
422 
423  void EnableFramerStream (const eSFP sfp, const NTV2Stream stream, bool enable);
424  bool SetFramerStream (const eSFP sfp, const NTV2Stream stream, const tx_2110Config & txConfig);
425  void GetFramerStream (const eSFP sfp, const NTV2Stream stream, tx_2110Config & txConfig);
426  void SetArbiter (const eSFP sfp, const NTV2Stream stream, bool enable);
427  void GetArbiter (const eSFP sfp, const NTV2Stream stream, bool & enable);
428 
429  void SetSampling(const eSFP sfp, const NTV2Stream stream, const VPIDSampling sampling);
430  VPIDSampling GetSampling(const eSFP sfp, const NTV2Stream stream);
431 
432  void DisableDepacketizerStream (const NTV2Stream stream);
433  void EnableDepacketizerStream (const NTV2Stream stream);
434  void DisableDecapsulatorStream (const eSFP sfp, const NTV2Stream stream);
435  void EnableDecapsulatorStream (const eSFP sfp, const NTV2Stream stream);
436 
437  void SetupDecapsulatorStream (const eSFP sfp, const NTV2Stream stream, const rx_2110Config &rxConfig);
438 
439  void ResetPacketizerStream (const NTV2Stream stream);
440 
441  void SetupDepacketizerStream (const NTV2Stream stream, const rx_2110Config & rxConfig);
442  void ResetDepacketizerStream (const NTV2Stream stream);
443 
444  void SetVideoFormatForRxTx (const NTV2Stream stream, const NTV2VideoFormat format, const bool rx);
445  void GetVideoFormatForRxTx (const NTV2Stream stream, NTV2VideoFormat & format, uint32_t & hwFormat, const bool rx);
446 
447  bool ConfigurePTP (const eSFP sfp, const std::string localIPAddress);
448 
449  bool GenVideoStreamSDP (std::stringstream &sdp, const bool enableSfp1,
450  const bool enableSfp2, const NTV2Stream stream, char *gmInfo);
451  bool GenVideoStreamSDPInfo (std::stringstream & sdp, const eSFP sfp, const NTV2Stream stream, char* gmInfo);
452  bool GenVideoStreamMultiSDPInfo (std::stringstream & sdp, char* gmInfo);
453  bool GenAudioStreamSDP (std::stringstream &sdp, const bool enableSfp1,
454  const bool enableSfp2, const NTV2Stream stream, char *gmInfo);
455  bool GenAudioStreamSDPInfo (std::stringstream & sdp, const eSFP sfp, const NTV2Stream stream, char* gmInfo);
456  bool GenAncStreamSDP (std::stringstream &sdp, const bool enableSfp1,
457  const bool enableSfp2, const NTV2Stream stream, char *gmInfo);
458  bool GenAncStreamSDPInfo (std::stringstream & sdp, const eSFP sfp, const NTV2Stream stream, char* gmInfo);
459 
460  NTV2StreamType StreamType (const NTV2Stream stream);
461  NTV2Channel VideoStreamToChannel (const NTV2Stream stream);
462 
463 private:
464  std::string To_String (int val);
465 
466  std::vector<std::string> split (const char *str, char delim);
467 
468  std::string rateToString (NTV2FrameRate rate);
469  NTV2FrameRate stringToRate (std::string str);
470 
471  int LeastCommonMultiple (int a,int b);
472  int getDescriptionValue (int startLine, std::string type, std::string & value);
473  std::string getVideoDescriptionValue (std::string type);
474 
475  std::stringstream txsdp;
476 
477  uint32_t _numRx0Chans;
478  uint32_t _numRx1Chans;
479  uint32_t _numTx0Chans;
480  uint32_t _numTx1Chans;
481  uint32_t _numRxChans;
482  uint32_t _numTxChans;
483  bool _biDirectionalChannels; // logically bi-directional channels
484 
485  std::vector<std::string> sdpLines;
486  std::vector<std::string> tokens;
487 
488 }; // CNTV2Config2110
489 
490 #endif // NTV2_2110CONFIG_H
rx_2110Config::ssrc
uint32_t ssrc
Specifies the SSRC identifier (if RX_MATCH_2110_SSRC set)
Definition: ntv2config2110.h:281
TxVideoChData2110::ttl
uint32_t ttl
Definition: ntv2config2110.h:57
RxAncChData2110
Definition: ntv2config2110.h:132
eSFP
eSFP
Definition: ntv2mbcontroller.h:38
TxAudioChData2110::payloadType
uint32_t payloadType
Definition: ntv2config2110.h:76
TxAudioChData2110::enable
uint32_t enable
Definition: ntv2config2110.h:80
RxAudioChData2110::enable
uint32_t enable
Definition: ntv2config2110.h:128
TxAncChData2110::ssrc
uint32_t ssrc
Definition: ntv2config2110.h:92
IP_STRSIZE
#define IP_STRSIZE
Definition: ntv2config2110.h:25
CNTV2Config2110::GetBiDirectionalChannels
bool GetBiDirectionalChannels(void)
Definition: ntv2config2110.h:387
eIGMPVersion_t
eIGMPVersion_t
Definition: ntv2mbcontroller.h:56
NTV2_FOURCC
#define NTV2_FOURCC(_a_, _b_, _c_, _d_)
Definition: ntv2publicinterface.h:5444
TransmitAudioData2110::numTxAudioChannels
uint32_t numTxAudioChannels
Definition: ntv2config2110.h:185
RxAudioChData2110::channel
NTV2Channel channel
Definition: ntv2config2110.h:117
TxVideoChData2110::videoFormat
NTV2VideoFormat videoFormat
Definition: ntv2config2110.h:60
SFPData2110::sfp
eSFP sfp
Definition: ntv2config2110.h:149
TxAncChData2110::enable
uint32_t enable
Definition: ntv2config2110.h:94
TxAncChData2110
Definition: ntv2config2110.h:84
NTV2Channel
NTV2Channel
These enum values are mostly used to identify a specific widget_framestore. They're also commonly use...
Definition: ntv2enums.h:1305
TxAudioChData2110::numAudioChannels
uint32_t numAudioChannels
Definition: ntv2config2110.h:77
tx_2110Config::videoFormat
NTV2VideoFormat videoFormat
Definition: ntv2config2110.h:253
RxVideoChData2110::videoFormat
NTV2VideoFormat videoFormat
Definition: ntv2config2110.h:109
aja::split
void split(const std::string &str, const char delim, std::vector< std::string > &elems)
Definition: common.cpp:350
rx_2110Config::videoSamples
VPIDSampling videoSamples
Definition: ntv2config2110.h:285
ntv2registers2110.h
Defines the KonaIP/IoIP S2110 registers.
NetworkData2110::audioCombine
bool audioCombine
Definition: ntv2config2110.h:172
TxAudioChData2110::firstAudioChannel
uint32_t firstAudioChannel
Definition: ntv2config2110.h:78
TxAudioChData2110
Definition: ntv2config2110.h:66
tx_2110Config::ssrc
uint32_t ssrc
Definition: ntv2config2110.h:251
RxAncChData2110::ssrc
uint32_t ssrc
Definition: ntv2config2110.h:141
CNTV2Config2110
The CNTV2Config2110 class inquires and configures SMPTE 2110 network I/O for KONA IP and Io IP.
Definition: ntv2config2110.h:300
tx_2110Config::payloadType
uint16_t payloadType
Definition: ntv2config2110.h:248
RxAudioChData2110::audioPktInterval
eNTV2PacketInterval audioPktInterval
Definition: ntv2config2110.h:127
CNTV2MBController::GetLLDPInfo
bool GetLLDPInfo(std::string &chassisId0, std::string &portId0, std::string &chassisId1, std::string &portId1)
Definition: ntv2mbcontroller.cpp:848
kIpStatusRunning
@ kIpStatusRunning
Definition: ntv2config2110.h:44
CNTV2Config2110::SetBiDirectionalChannels
void SetBiDirectionalChannels(const bool bidirectional)
Definition: ntv2config2110.h:386
ChToAudioStream
NTV2Stream ChToAudioStream(int ch)
Definition: ntv2config2110.h:220
tx_2110Config::ttl
uint8_t ttl
Definition: ntv2config2110.h:250
kTransmitVideoData2110
@ kTransmitVideoData2110
Definition: ntv2config2110.h:31
TransmitVideoData2110
Definition: ntv2config2110.h:177
tx_2110Config::tx_2110Config
tx_2110Config()
Definition: ntv2config2110.h:237
TxVideoChData2110::stream
NTV2Stream stream
Definition: ntv2config2110.h:52
RxAudioChData2110::payloadType
uint32_t payloadType
Definition: ntv2config2110.h:125
nlohmann::json_abiNLOHMANN_JSON_ABI_TAG_LEGACY_DISCARDED_VALUE_COMPARISON_v3_11_NLOHMANN_JSON_VERSION_PATCH::operator==
bool operator==(const json_pointer< RefStringTypeLhs > &lhs, const json_pointer< RefStringTypeRhs > &rhs) noexcept
Definition: json.hpp:14737
RxAudioChData2110::ssrc
uint32_t ssrc
Definition: ntv2config2110.h:124
TxAncChData2110::ttl
uint32_t ttl
Definition: ntv2config2110.h:91
kChStatusData2110
@ kChStatusData2110
Definition: ntv2config2110.h:37
tx_2110Config::videoSamples
VPIDSampling videoSamples
Definition: ntv2config2110.h:254
RxAncChData2110::enable
uint32_t enable
Definition: ntv2config2110.h:143
NetworkData2110::rxMatchOverride
uint32_t rxMatchOverride
Definition: ntv2config2110.h:173
rx_2110Config::destPort
uint32_t destPort
Specifies the destination (target) port number (if RX_MATCH_2110_DEST_PORT set)
Definition: ntv2config2110.h:280
TransmitVideoData2110::numTxVideoChannels
uint32_t numTxVideoChannels
Definition: ntv2config2110.h:179
eNTV2PacketInterval
eNTV2PacketInterval
Definition: ntv2mbcontroller.h:32
rx_2110Config::videoFormat
NTV2VideoFormat videoFormat
Definition: ntv2config2110.h:284
TxAudioChData2110::ttl
uint32_t ttl
Definition: ntv2config2110.h:74
NTV2FrameRate
NTV2FrameRate
Identifies a particular video frame rate.
Definition: ntv2enums.h:396
RxAudioChData2110::numAudioChannels
uint32_t numAudioChannels
Definition: ntv2config2110.h:126
ReceiveVideoData2110::numRxVideoChannels
uint32_t numRxVideoChannels
Definition: ntv2config2110.h:197
ReceiveAncData2110::numRxAncChannels
uint32_t numRxAncChannels
Definition: ntv2config2110.h:209
rx_2110Config::sourcePort
uint32_t sourcePort
Specifies the source (sender) port number (if RX_MATCH_2110_SOURCE_PORT set)
Definition: ntv2config2110.h:279
NTV2_ANC1_STREAM
@ NTV2_ANC1_STREAM
Definition: ntv2enums.h:1362
rx_2110Config::vlan
uint16_t vlan
Specifies the VLAN TCI (if RX_MATCH_2110_VLAN set)
Definition: ntv2config2110.h:282
TxVideoChData2110::payloadType
uint32_t payloadType
Definition: ntv2config2110.h:59
ReceiveVideoData2110
Definition: ntv2config2110.h:195
SFPData2110
Definition: ntv2config2110.h:147
VideoStreamToCh
int VideoStreamToCh(NTV2Stream s)
Definition: ntv2config2110.h:217
SFPStatus
Definition: ntv2mbcontroller.h:73
rx_2110Config::audioPktInterval
eNTV2PacketInterval audioPktInterval
Definition: ntv2config2110.h:287
AudioStreamToCh
int AudioStreamToCh(NTV2Stream s)
Definition: ntv2config2110.h:222
RxVideoChData2110::stream
NTV2Stream stream
Definition: ntv2config2110.h:100
IpStatus2110
Definition: ntv2config2110.h:157
multiRx_2110Config
Definition: ntv2config2110.h:290
TransmitAudioData2110
Definition: ntv2config2110.h:183
CNTV2MBController::DisableNetworkInterface
bool DisableNetworkInterface(eSFP port)
Definition: ntv2mbcontroller.cpp:99
rx_2110Config::payloadType
uint16_t payloadType
Definition: ntv2config2110.h:283
CNTV2MBController::SetIGMPVersion
bool SetIGMPVersion(uint32_t version)
Definition: ntv2mbcontroller.cpp:149
TxAudioChData2110::audioPktInterval
eNTV2PacketInterval audioPktInterval
Definition: ntv2config2110.h:79
RxVideoChData2110::ssrc
uint32_t ssrc
Definition: ntv2config2110.h:107
rx_2110Config::numAudioChannels
uint32_t numAudioChannels
Definition: ntv2config2110.h:286
ntv2card.h
Declares the CNTV2Card class.
kTransmitAudioData2110
@ kTransmitAudioData2110
Definition: ntv2config2110.h:32
RxAudioChData2110
Definition: ntv2config2110.h:114
IpChStatusState
IpChStatusState
Definition: ntv2config2110.h:40
VirtualDataTag2110
VirtualDataTag2110
Definition: ntv2config2110.h:28
TxAncChData2110::payloadType
uint32_t payloadType
Definition: ntv2config2110.h:93
ntv2enums.h
Enumerations for controlling NTV2 devices.
CNTV2MBController::SetLLDPInfo
bool SetLLDPInfo(std::string sysname)
Definition: ntv2mbcontroller.cpp:913
SFPMSAData
Definition: ntv2mbcontroller.h:68
RxAncChData2110::payloadType
uint32_t payloadType
Definition: ntv2config2110.h:142
NetworkData2110::multiSDP
bool multiSDP
Definition: ntv2config2110.h:171
NetworkData2110
Definition: ntv2config2110.h:164
rx_2110Config::sourceIP
std::string sourceIP
Specifies the source (sender) IP address (if RX_MATCH_2110_SOURCE_IP set). If it's in the multiclass ...
Definition: ntv2config2110.h:276
tx_2110Config::channel
NTV2Channel channel
Definition: ntv2config2110.h:252
TransmitAncData2110
Definition: ntv2config2110.h:189
NTV2_AUDIO1_STREAM
@ NTV2_AUDIO1_STREAM
Definition: ntv2enums.h:1358
TxAudioChData2110::ssrc
uint32_t ssrc
Definition: ntv2config2110.h:75
CNTV2Card
I interrogate and control an AJA video/audio capture/playout device.
Definition: ntv2card.h:28
RxVideoChData2110::payloadType
uint32_t payloadType
Definition: ntv2config2110.h:108
NetworkData2110::numSFPs
uint32_t numSFPs
Definition: ntv2config2110.h:169
TransmitAncData2110::numTxAncChannels
uint32_t numTxAncChannels
Definition: ntv2config2110.h:191
ChToAncStream
NTV2Stream ChToAncStream(int ch)
Definition: ntv2config2110.h:225
VPIDSampling
VPIDSampling
Definition: ntv2enums.h:4005
TxAudioChData2110::stream
NTV2Stream stream
Definition: ntv2config2110.h:68
TxVideoChData2110::enable
uint32_t enable
Definition: ntv2config2110.h:62
tx_2110Config::firstAudioChannel
uint8_t firstAudioChannel
Definition: ntv2config2110.h:256
rx_2110Config::rxMatch
uint32_t rxMatch
Bitmap of rxMatch criteria used.
Definition: ntv2config2110.h:275
NTV2Stream
NTV2Stream
Identifies a specific IP-based data stream.
Definition: ntv2enums.h:1352
CNTV2MBController::GetNTPTimestamp
uint64_t GetNTPTimestamp()
Definition: ntv2mbcontroller.cpp:654
TxAudioChData2110::channel
NTV2Channel channel
Definition: ntv2config2110.h:69
RxAudioChData2110::vlan
uint32_t vlan
Definition: ntv2config2110.h:123
RxAncChData2110::stream
NTV2Stream stream
Definition: ntv2config2110.h:134
RxAudioChData2110::stream
NTV2Stream stream
Definition: ntv2config2110.h:116
NTV2StreamType
NTV2StreamType
Identifies the kind of data that can be carried by an IP-based data stream.
Definition: ntv2enums.h:1378
tx_2110Config::numAudioChannels
uint8_t numAudioChannels
Definition: ntv2config2110.h:255
rx_2110Config
Configures a SMPTE 2110 Receive Channel.
Definition: ntv2config2110.h:264
nlohmann::json_abiNLOHMANN_JSON_ABI_TAG_LEGACY_DISCARDED_VALUE_COMPARISON_v3_11_NLOHMANN_JSON_VERSION_PATCH::operator!=
bool operator!=(const json_pointer< RefStringTypeLhs > &lhs, const json_pointer< RefStringTypeRhs > &rhs) noexcept
Definition: json.hpp:14762
tx_2110Config
Configures a SMPTE 2110 Transmit Channel.
Definition: ntv2config2110.h:234
kReceiveVideoData2110
@ kReceiveVideoData2110
Definition: ntv2config2110.h:34
PTPStatus
Definition: ntv2mbcontroller.h:90
TxVideoChData2110
Definition: ntv2config2110.h:50
CNTV2MBController
Definition: ntv2mbcontroller.h:128
SFPData2110::enable
uint32_t enable
Definition: ntv2config2110.h:153
kReceiveAncData2110
@ kReceiveAncData2110
Definition: ntv2config2110.h:36
tx_2110Config::audioPktInterval
eNTV2PacketInterval audioPktInterval
Definition: ntv2config2110.h:257
kNetworkData2110
@ kNetworkData2110
Definition: ntv2config2110.h:30
TxAncChData2110::stream
NTV2Stream stream
Definition: ntv2config2110.h:86
NTV2_VIDEO1_STREAM
@ NTV2_VIDEO1_STREAM
Definition: ntv2enums.h:1354
NetworkData2110::setup4k
bool setup4k
Definition: ntv2config2110.h:166
ReceiveAncData2110
Definition: ntv2config2110.h:207
NTV2IpError
NTV2IpError
Definition: ntv2enums.h:4229
IPVNetConfig
Definition: ntv2mbcontroller.h:113
AJAExport
#define AJAExport
Definition: export.h:33
NTV2VideoFormat
enum _NTV2VideoFormat NTV2VideoFormat
Identifies a particular video format.
ReceiveAudioData2110
Definition: ntv2config2110.h:201
RxVideoChData2110
Definition: ntv2config2110.h:98
RxVideoChData2110::enable
uint32_t enable
Definition: ntv2config2110.h:110
kIpStatusFail
@ kIpStatusFail
Definition: ntv2config2110.h:42
ntv2mbcontroller.h
Declares the CNTV2MBController class.
rx_2110Config::rx_2110Config
rx_2110Config()
Definition: ntv2config2110.h:267
RxVideoChData2110::vlan
uint32_t vlan
Definition: ntv2config2110.h:106
kTransmitAncData2110
@ kTransmitAncData2110
Definition: ntv2config2110.h:33
NetworkData2110::ptpDomain
uint32_t ptpDomain
Definition: ntv2config2110.h:167
TxVideoChData2110::sampling
VPIDSampling sampling
Definition: ntv2config2110.h:61
ReceiveAudioData2110::numRxAudioChannels
uint32_t numRxAudioChannels
Definition: ntv2config2110.h:203
kReceiveAudioData2110
@ kReceiveAudioData2110
Definition: ntv2config2110.h:35
RxAncChData2110::vlan
uint32_t vlan
Definition: ntv2config2110.h:140
tx_2110Config::tos
uint8_t tos
Definition: ntv2config2110.h:249
TxVideoChData2110::ssrc
uint32_t ssrc
Definition: ntv2config2110.h:58
AncStreamToCh
int AncStreamToCh(NTV2Stream s)
Definition: ntv2config2110.h:227
ChToVideoStream
NTV2Stream ChToVideoStream(int ch)
Definition: ntv2config2110.h:215
kIpStatusStopped
@ kIpStatusStopped
Definition: ntv2config2110.h:43
CKonaIpJsonSetup
Definition: konaipjsonsetup.h:68