engage-engine 1.252.90920030 → 1.255.90950032

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.
@@ -12,7 +12,7 @@
12
12
  *
13
13
  * This file contains all the configuration objects
14
14
  *
15
- * Copyright (c) 2018 Rally Tactical Systems, Inc.
15
+ * Copyright (c) 2019 Rally Tactical Systems, Inc.
16
16
  * All rights reserved.
17
17
  *
18
18
  */
@@ -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);
@@ -5629,6 +5695,9 @@ namespace AppConfigurationObjects
5629
5695
  /** @brief [Read only] Manufacturer ID. */
5630
5696
  std::string manufacturerId;
5631
5697
 
5698
+ /** @brief The HMAC to be used for activation purposes. */
5699
+ std::string activationHmac;
5700
+
5632
5701
  LicenseDescriptor()
5633
5702
  {
5634
5703
  clear();
@@ -5648,6 +5717,7 @@ namespace AppConfigurationObjects
5648
5717
  deviceId.clear();
5649
5718
  status = ERR_NOT_INITIALIZED;
5650
5719
  manufacturerId.clear();
5720
+ activationHmac.clear();
5651
5721
  }
5652
5722
  };
5653
5723
 
@@ -5667,7 +5737,8 @@ namespace AppConfigurationObjects
5667
5737
  //TOJSON_IMPL(manufacturerId),
5668
5738
  {"manufacturerId", "*manufacturerId*"},
5669
5739
  TOJSON_IMPL(cargo),
5670
- TOJSON_IMPL(cargoFlags)
5740
+ TOJSON_IMPL(cargoFlags),
5741
+ TOJSON_IMPL(activationHmac)
5671
5742
  };
5672
5743
  }
5673
5744
 
@@ -5686,6 +5757,7 @@ namespace AppConfigurationObjects
5686
5757
  FROMJSON_IMPL(manufacturerId, std::string, EMPTY_STRING);
5687
5758
  FROMJSON_IMPL(cargo, std::string, EMPTY_STRING);
5688
5759
  FROMJSON_IMPL(cargoFlags, uint8_t, 0);
5760
+ FROMJSON_IMPL(activationHmac, std::string, EMPTY_STRING);
5689
5761
  }
5690
5762
 
5691
5763
 
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.252.90920030",
3
+ "version": "1.255.90950032",
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"