engage-engine 1.251.90910022 → 1.251.90910024

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.
@@ -2850,6 +2850,9 @@ namespace AppConfigurationObjects
2850
2850
  /** @brief [Optional, Default: ""] Path to use for the RP connection (only used for WebSocket) */
2851
2851
  std::string path;
2852
2852
 
2853
+ /** @brief [Optional, Default: ""] Additional protocols to use for the Rallypoint connection (only used for WebSocket) */
2854
+ std::string additionalProtocols;
2855
+
2853
2856
 
2854
2857
  Rallypoint()
2855
2858
  {
@@ -2870,6 +2873,7 @@ namespace AppConfigurationObjects
2870
2873
  sni.clear();
2871
2874
  protocol = rppTlsTcp;
2872
2875
  path.clear();
2876
+ additionalProtocols.clear();
2873
2877
  }
2874
2878
 
2875
2879
  bool matches(const Rallypoint& other)
@@ -2974,7 +2978,8 @@ namespace AppConfigurationObjects
2974
2978
  TOJSON_IMPL(tcpTxOptions),
2975
2979
  TOJSON_IMPL(sni),
2976
2980
  TOJSON_IMPL(protocol),
2977
- TOJSON_IMPL(path)
2981
+ TOJSON_IMPL(path),
2982
+ TOJSON_IMPL(additionalProtocols)
2978
2983
  };
2979
2984
  }
2980
2985
 
@@ -2994,6 +2999,7 @@ namespace AppConfigurationObjects
2994
2999
  getOptional<std::string>("sni", p.sni, j);
2995
3000
  getOptional<Rallypoint::RpProtocol_t>("protocol", p.protocol, j, Rallypoint::RpProtocol_t::rppTlsTcp);
2996
3001
  getOptional<std::string>("path", p.path, j);
3002
+ getOptional<std::string>("additionalProtocols", p.additionalProtocols, j);
2997
3003
  }
2998
3004
 
2999
3005
  //-----------------------------------------------------------
@@ -7971,6 +7977,9 @@ namespace AppConfigurationObjects
7971
7977
  /** @brief [Optional, Default: ""] Path to use for the peer (only used for WebSocket) */
7972
7978
  std::string path;
7973
7979
 
7980
+ /** @brief [Optional, Default: ""] Additional protocols to use for the peer (only used for WebSocket) */
7981
+ std::string additionalProtocols;
7982
+
7974
7983
  RallypointPeer()
7975
7984
  {
7976
7985
  clear();
@@ -7987,6 +7996,7 @@ namespace AppConfigurationObjects
7987
7996
  outboundLeafPolicy = OutboundLeafPolicy_t::olpUseRpConfiguration;
7988
7997
  protocol = Rallypoint::RpProtocol_t::rppTlsTcp;
7989
7998
  path.clear();
7999
+ additionalProtocols.clear();
7990
8000
  }
7991
8001
  };
7992
8002
 
@@ -8001,7 +8011,8 @@ namespace AppConfigurationObjects
8001
8011
  TOJSON_IMPL(forceIsMeshLeaf),
8002
8012
  TOJSON_IMPL(outboundLeafPolicy),
8003
8013
  TOJSON_IMPL(protocol),
8004
- TOJSON_IMPL(path)
8014
+ TOJSON_IMPL(path),
8015
+ TOJSON_IMPL(additionalProtocols)
8005
8016
  };
8006
8017
  }
8007
8018
  static void from_json(const nlohmann::json& j, RallypointPeer& p)
@@ -8016,6 +8027,7 @@ namespace AppConfigurationObjects
8016
8027
  getOptional<RallypointPeer::OutboundLeafPolicy_t>("outboundLeafPolicy", p.outboundLeafPolicy, j, RallypointPeer::OutboundLeafPolicy_t::olpUseRpConfiguration);
8017
8028
  getOptional<Rallypoint::RpProtocol_t>("protocol", p.protocol, j, Rallypoint::RpProtocol_t::rppTlsTcp);
8018
8029
  getOptional<std::string>("path", p.path, j);
8030
+ getOptional<std::string>("additionalProtocols", p.additionalProtocols, j);
8019
8031
  }
8020
8032
 
8021
8033
  //-----------------------------------------------------------
@@ -224,4 +224,6 @@ static const uint8_t ENGAGE_TXFLAG_TX_START = 0x0040;
224
224
  static const uint8_t ENGAGE_DEFAULT_BLOB_RTP_PAYLOAD_TYPE = 66;
225
225
  /** @} */
226
226
 
227
+ #define ENGAGE_DEFAULT_WS_PROTOCOL_NAME "rts-rallypoint-v1"
228
+
227
229
  #endif // EngageConstants_h
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.90910022",
3
+ "version": "1.251.90910024",
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"