engage-engine 1.251.90910029 → 1.255.90950031

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.
@@ -3437,7 +3437,11 @@ namespace AppConfigurationObjects
3437
3437
  ctMelpe1200 = 51,
3438
3438
 
3439
3439
  /** @brief MELPe 2.4 (kbit/s) <a href="https://en.wikipedia.org/wiki/Mixed-excitation_linear_prediction" target="_blank">See for more info</a> */
3440
- ctMelpe2400 = 52
3440
+ ctMelpe2400 = 52,
3441
+
3442
+ /* CVSD */
3443
+ /** @brief CVSD (Continuous Variable Slope Delta Modulation) <a href="https://en.wikipedia.org/wiki/Continuous_variable_slope_delta_modulation" target="_blank">See for more info</a> */
3444
+ ctCvsd = 60
3441
3445
  } TxCodec_t;
3442
3446
 
3443
3447
  /** @brief [Optional, Default: true] Audio transmission is enabled */
@@ -5031,6 +5035,62 @@ namespace AppConfigurationObjects
5031
5035
  FROMJSON_IMPL_SIMPLE(mixedStreamTxParams);
5032
5036
  }
5033
5037
 
5038
+ //-----------------------------------------------------------
5039
+ JSON_SERIALIZED_CLASS(GroupDefaultAudioPriority)
5040
+ /**
5041
+ * @brief Options for Source
5042
+ *
5043
+ * Helper C++ class to serialize and de-serialize GroupDefaultAudioPriority JSON
5044
+ *
5045
+ * TODO: Complete this Class
5046
+ *
5047
+ * Example: @include[doc] examples/GroupDefaultAudioPriority.json
5048
+ *
5049
+ * @see Group
5050
+ */
5051
+ class GroupDefaultAudioPriority : public ConfigurationObjectBase
5052
+ {
5053
+ IMPLEMENT_JSON_SERIALIZATION()
5054
+ IMPLEMENT_JSON_DOCUMENTATION(GroupDefaultAudioPriority)
5055
+
5056
+ public:
5057
+ /** @brief [Optional] The default audio priority */
5058
+ uint8_t tx;
5059
+
5060
+ /** @brief [Optional] The default audio RX priority */
5061
+ uint8_t rx;
5062
+
5063
+ GroupDefaultAudioPriority()
5064
+ {
5065
+ clear();
5066
+ }
5067
+
5068
+ void clear()
5069
+ {
5070
+ tx = 0;
5071
+ rx = 0;
5072
+ }
5073
+
5074
+ virtual void initForDocumenting()
5075
+ {
5076
+ clear();
5077
+ }
5078
+ };
5079
+
5080
+ static void to_json(nlohmann::json& j, const GroupDefaultAudioPriority& p)
5081
+ {
5082
+ j = nlohmann::json{
5083
+ TOJSON_IMPL(tx),
5084
+ TOJSON_IMPL(rx)
5085
+ };
5086
+ }
5087
+ static void from_json(const nlohmann::json& j, GroupDefaultAudioPriority& p)
5088
+ {
5089
+ p.clear();
5090
+ FROMJSON_IMPL_SIMPLE(tx);
5091
+ FROMJSON_IMPL_SIMPLE(rx);
5092
+ }
5093
+
5034
5094
  //-----------------------------------------------------------
5035
5095
  JSON_SERIALIZED_CLASS(Group)
5036
5096
  /**
@@ -5081,6 +5141,9 @@ namespace AppConfigurationObjects
5081
5141
  /** @brief Output details for when the group is a target in a bridge (see @ref GroupBridgeTargetOutputDetail). */
5082
5142
  GroupBridgeTargetOutputDetail bridgeTargetOutputDetail;
5083
5143
 
5144
+ /** @brief Default audio priority for the group (see @ref GroupDefaultAudioPriority). */
5145
+ GroupDefaultAudioPriority defaultAudioPriority;
5146
+
5084
5147
  /**
5085
5148
  * @brief Unique identity for the group.
5086
5149
  *
@@ -5246,6 +5309,7 @@ namespace AppConfigurationObjects
5246
5309
  {
5247
5310
  type = gtUnknown;
5248
5311
  bridgeTargetOutputDetail.clear();
5312
+ defaultAudioPriority.clear();
5249
5313
  id.clear();
5250
5314
  name.clear();
5251
5315
  spokenName.clear();
@@ -5323,6 +5387,7 @@ namespace AppConfigurationObjects
5323
5387
  j = nlohmann::json{
5324
5388
  TOJSON_IMPL(type),
5325
5389
  TOJSON_IMPL(bridgeTargetOutputDetail),
5390
+ TOJSON_IMPL(defaultAudioPriority),
5326
5391
  TOJSON_IMPL(id),
5327
5392
  TOJSON_IMPL(name),
5328
5393
  TOJSON_IMPL(spokenName),
@@ -5441,6 +5506,7 @@ namespace AppConfigurationObjects
5441
5506
  getOptional<int>("rfc4733RtpPayloadId", p.rfc4733RtpPayloadId, j, 0);
5442
5507
  getOptional<std::vector<RtpPayloadTypeTranslation>>("inboundRtpPayloadTypeTranslations", p.inboundRtpPayloadTypeTranslations, j);
5443
5508
  getOptional<GroupPriorityTranslation>("priorityTranslation", p.priorityTranslation, j);
5509
+ getOptional<GroupDefaultAudioPriority>("defaultAudioPriority", p.defaultAudioPriority, j);
5444
5510
  getOptional<int>("stickyTidHangSecs", p.stickyTidHangSecs, j, 10);
5445
5511
  getOptional<std::string>("anonymousAlias", p.anonymousAlias, j);
5446
5512
  getOptional<bool>("lbCrypto", p.lbCrypto, j, false);
@@ -8339,14 +8405,11 @@ namespace AppConfigurationObjects
8339
8405
  /** @brief Enum describing format(s) for the stream stats export. */
8340
8406
  typedef enum
8341
8407
  {
8342
- /** @brief Data in JSON format */
8343
- fmtJson = 0,
8344
-
8345
- /** @brief Data in binary format */
8346
- fmtBinary = 1,
8347
-
8348
8408
  /** @brief Data in CSV format */
8349
- fmtCsv = 2
8409
+ fmtCsv = 0,
8410
+
8411
+ /** @brief Data in JSON format */
8412
+ fmtJson = 1
8350
8413
  } ExportFormat_t;
8351
8414
 
8352
8415
  /** File name to use for the stream stats export. */
@@ -8358,16 +8421,13 @@ namespace AppConfigurationObjects
8358
8421
  /** [Optional, Default: false] Indicates if stream stats export is enabled. */
8359
8422
  bool enabled;
8360
8423
 
8361
- /** [Optional, Default: null] Named pipe path for external program communication. */
8362
- std::string namedPipePath;
8363
-
8364
8424
  /** [Optional, Default: false] Whether to reset counters after export. */
8365
8425
  bool resetCountersAfterExport;
8366
8426
 
8367
8427
  /** [Optional, Default: null] Command to be executed every time the stream stats export is produced. */
8368
8428
  std::string runCmd;
8369
8429
 
8370
- /** [Optional, Default: fmtJson] Format for the stream stats export. */
8430
+ /** [Optional, Default: fmtCsv] Format for the stream stats export. */
8371
8431
  ExportFormat_t format;
8372
8432
 
8373
8433
 
@@ -8381,7 +8441,6 @@ namespace AppConfigurationObjects
8381
8441
  fileName.clear();
8382
8442
  intervalSecs = 60;
8383
8443
  enabled = false;
8384
- namedPipePath.clear();
8385
8444
  resetCountersAfterExport = false;
8386
8445
  runCmd.clear();
8387
8446
  format = fmtJson;
@@ -8394,7 +8453,6 @@ namespace AppConfigurationObjects
8394
8453
  TOJSON_IMPL(fileName),
8395
8454
  TOJSON_IMPL(intervalSecs),
8396
8455
  TOJSON_IMPL(enabled),
8397
- TOJSON_IMPL(namedPipePath),
8398
8456
  TOJSON_IMPL(resetCountersAfterExport),
8399
8457
  TOJSON_IMPL(runCmd),
8400
8458
  TOJSON_IMPL(format)
@@ -8406,10 +8464,9 @@ namespace AppConfigurationObjects
8406
8464
  getOptional<std::string>("fileName", p.fileName, j);
8407
8465
  getOptional<int>("intervalSecs", p.intervalSecs, j, 60);
8408
8466
  getOptional<bool>("enabled", p.enabled, j, false);
8409
- getOptional<std::string>("namedPipePath", p.namedPipePath, j);
8410
8467
  getOptional<bool>("resetCountersAfterExport", p.resetCountersAfterExport, j, false);
8411
8468
  getOptional<std::string>("runCmd", p.runCmd, j);
8412
- getOptional<RallypointServerStreamStatsExport::ExportFormat_t>("format", p.format, j, RallypointServerStreamStatsExport::ExportFormat_t::fmtJson);
8469
+ getOptional<RallypointServerStreamStatsExport::ExportFormat_t>("format", p.format, j, RallypointServerStreamStatsExport::ExportFormat_t::fmtCsv);
8413
8470
  }
8414
8471
 
8415
8472
  //-----------------------------------------------------------
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.251.90910029",
3
+ "version": "1.255.90950031",
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"