engage-engine 1.245.90850014 → 1.248.90880016

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -571,6 +571,12 @@ namespace AppConfigurationObjects
571
571
  /** @brief [Optional, Default false] If true, requests the crypto engine module to run in debugging mode. */
572
572
  bool debug;
573
573
 
574
+ /** @brief [Optional] Specifies the NIST-approved curves to be used for FIPS */
575
+ std::string curves;
576
+
577
+ /** @brief [Optional] Specifies the NIST-approved ciphers to be used for FIPS */
578
+ std::string ciphers;
579
+
574
580
  FipsCryptoSettings()
575
581
  {
576
582
  clear();
@@ -581,6 +587,8 @@ namespace AppConfigurationObjects
581
587
  enabled = false;
582
588
  path.clear();
583
589
  debug = false;
590
+ curves.clear();
591
+ ciphers.clear();
584
592
  }
585
593
 
586
594
  virtual void initForDocumenting()
@@ -594,7 +602,9 @@ namespace AppConfigurationObjects
594
602
  j = nlohmann::json{
595
603
  TOJSON_IMPL(enabled),
596
604
  TOJSON_IMPL(path),
597
- TOJSON_IMPL(debug)
605
+ TOJSON_IMPL(debug),
606
+ TOJSON_IMPL(curves),
607
+ TOJSON_IMPL(ciphers)
598
608
  };
599
609
  }
600
610
  static void from_json(const nlohmann::json& j, FipsCryptoSettings& p)
@@ -603,6 +613,8 @@ namespace AppConfigurationObjects
603
613
  FROMJSON_IMPL_SIMPLE(enabled);
604
614
  FROMJSON_IMPL_SIMPLE(path);
605
615
  FROMJSON_IMPL_SIMPLE(debug);
616
+ FROMJSON_IMPL_SIMPLE(curves);
617
+ FROMJSON_IMPL_SIMPLE(ciphers);
606
618
  }
607
619
 
608
620
 
@@ -5861,6 +5873,13 @@ namespace AppConfigurationObjects
5861
5873
  /** @brief [Optional, Default: false] Denoise output */
5862
5874
  bool denoiseOutput;
5863
5875
 
5876
+ /** @brief [Optional, Default: false] If true, input audio is written to a PCM file in the data directory */
5877
+ bool saveInputPcm;
5878
+
5879
+ /** @brief [Optional, Default: false] If true, input audio is written to a PCM file in the data directory */
5880
+ bool saveOutputPcm;
5881
+
5882
+
5864
5883
  EnginePolicyAudio()
5865
5884
  {
5866
5885
  clear();
@@ -5880,6 +5899,8 @@ namespace AppConfigurationObjects
5880
5899
  outputAgc.clear();
5881
5900
  denoiseInput = false;
5882
5901
  denoiseOutput = false;
5902
+ saveInputPcm = false;
5903
+ saveOutputPcm = false;
5883
5904
  }
5884
5905
  };
5885
5906
 
@@ -5897,7 +5918,9 @@ namespace AppConfigurationObjects
5897
5918
  TOJSON_IMPL(inputAgc),
5898
5919
  TOJSON_IMPL(outputAgc),
5899
5920
  TOJSON_IMPL(denoiseInput),
5900
- TOJSON_IMPL(denoiseOutput)
5921
+ TOJSON_IMPL(denoiseOutput),
5922
+ TOJSON_IMPL(saveInputPcm),
5923
+ TOJSON_IMPL(saveOutputPcm)
5901
5924
  };
5902
5925
  }
5903
5926
  static void from_json(const nlohmann::json& j, EnginePolicyAudio& p)
@@ -5916,6 +5939,8 @@ namespace AppConfigurationObjects
5916
5939
  getOptional<Agc>("outputAgc", p.outputAgc, j);
5917
5940
  FROMJSON_IMPL(denoiseInput, bool, false);
5918
5941
  FROMJSON_IMPL(denoiseOutput, bool, false);
5942
+ FROMJSON_IMPL(saveInputPcm, bool, false);
5943
+ FROMJSON_IMPL(saveOutputPcm, bool, false);
5919
5944
  }
5920
5945
 
5921
5946
  //-----------------------------------------------------------
@@ -8068,14 +8093,12 @@ namespace AppConfigurationObjects
8068
8093
  /** @brief Enables IGMP. Default is false. */
8069
8094
  bool enabled;
8070
8095
 
8071
- /** @brief TODO */
8096
+ /** @brief [Optional, Default 125000] Interval between sending IGMP membership queries. If 0, no queries are sent. */
8072
8097
  int queryIntervalMs;
8073
8098
 
8074
- /** @brief TODO */
8075
- int lastMemberQueryIntervalMs;
8099
+ /** @brief [Optional, Default 0] Typically calculated according to RFC specifications. Set a value here to manually force (or delay) timeouts. */
8100
+ int subscriptionTimeoutMs;
8076
8101
 
8077
- /** @brief TODO */
8078
- int lastMemberQueryCount;
8079
8102
 
8080
8103
  IgmpSnooping()
8081
8104
  {
@@ -8085,9 +8108,8 @@ namespace AppConfigurationObjects
8085
8108
  void clear()
8086
8109
  {
8087
8110
  enabled = false;
8088
- queryIntervalMs = 60000;
8089
- lastMemberQueryIntervalMs = 1000;
8090
- lastMemberQueryCount = 1;
8111
+ queryIntervalMs = 125000;
8112
+ subscriptionTimeoutMs = 0;
8091
8113
  }
8092
8114
  };
8093
8115
 
@@ -8096,17 +8118,15 @@ namespace AppConfigurationObjects
8096
8118
  j = nlohmann::json{
8097
8119
  TOJSON_IMPL(enabled),
8098
8120
  TOJSON_IMPL(queryIntervalMs),
8099
- TOJSON_IMPL(lastMemberQueryIntervalMs),
8100
- TOJSON_IMPL(lastMemberQueryCount)
8121
+ TOJSON_IMPL(subscriptionTimeoutMs)
8101
8122
  };
8102
8123
  }
8103
8124
  static void from_json(const nlohmann::json& j, IgmpSnooping& p)
8104
8125
  {
8105
8126
  p.clear();
8106
8127
  getOptional<bool>("enabled", p.enabled, j);
8107
- getOptional<int>("queryIntervalMs", p.queryIntervalMs, j, 60000);
8108
- getOptional<int>("lastMemberQueryIntervalMs", p.lastMemberQueryIntervalMs, j, 1000);
8109
- getOptional<int>("lastMemberQueryCount", p.lastMemberQueryCount, j, 1);
8128
+ getOptional<int>("queryIntervalMs", p.queryIntervalMs, j, 125000);
8129
+ getOptional<int>("subscriptionTimeoutMs", p.subscriptionTimeoutMs, j, 0);
8110
8130
  }
8111
8131
 
8112
8132
 
@@ -10395,6 +10415,9 @@ namespace AppConfigurationObjects
10395
10415
  /** @brief Milliseconds until next connection attempt */
10396
10416
  uint64_t msToNextConnectionAttempt;
10397
10417
 
10418
+ /** @brief Server processing time in milliseconds - used for roundtrip reports */
10419
+ float serverProcessingMs;
10420
+
10398
10421
  RallypointConnectionDetail()
10399
10422
  {
10400
10423
  clear();
@@ -10406,6 +10429,7 @@ namespace AppConfigurationObjects
10406
10429
  host.clear();
10407
10430
  port = 0;
10408
10431
  msToNextConnectionAttempt = 0;
10432
+ serverProcessingMs = -1.0f;
10409
10433
  }
10410
10434
  };
10411
10435
 
@@ -10421,6 +10445,11 @@ namespace AppConfigurationObjects
10421
10445
  {
10422
10446
  j["msToNextConnectionAttempt"] = p.msToNextConnectionAttempt;
10423
10447
  }
10448
+
10449
+ if(p.serverProcessingMs >= 0.0)
10450
+ {
10451
+ j["serverProcessingMs"] = p.serverProcessingMs;
10452
+ }
10424
10453
  }
10425
10454
  static void from_json(const nlohmann::json& j, RallypointConnectionDetail& p)
10426
10455
  {
@@ -10429,6 +10458,7 @@ namespace AppConfigurationObjects
10429
10458
  getOptional<std::string>("host", p.host, j, EMPTY_STRING);
10430
10459
  getOptional<int>("port", p.port, j, 0);
10431
10460
  getOptional<uint64_t>("msToNextConnectionAttempt", p.msToNextConnectionAttempt, j, 0);
10461
+ getOptional<float>("serverProcessingMs", p.serverProcessingMs, j, -1.0);
10432
10462
  }
10433
10463
 
10434
10464
  //-----------------------------------------------------------
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "engage-engine",
3
- "version": "1.245.90850014",
3
+ "version": "1.248.90880016",
4
4
  "description": "Use Engage to communicate with everyone, everywhere, from any device",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"