engage-engine 1.236.90760003 → 1.240.90800005
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.
- package/engage.cpp +20 -0
- package/include/ConfigurationObjects.h +622 -168
- package/include/EngageConstants.h +7 -2
- package/include/EngageInterface.h +46 -1
- package/lib/darwin.x64/libengage-shared.dylib +0 -0
- package/lib/darwin.x64/rts-fips.dylib +0 -0
- package/lib/linux.x64/libengage-shared.so +0 -0
- package/lib/linux.x64/rts-fips.so +0 -0
- package/lib/win32.ia32/engage-shared.dll +0 -0
- package/lib/win32.ia32/engage-shared.lib +0 -0
- package/lib/win32.ia32/rts-fips.dll +0 -0
- package/lib/win32.x64/engage-shared.dll +0 -0
- package/lib/win32.x64/engage-shared.lib +0 -0
- package/lib/win32.x64/rts-fips.dll +0 -0
- package/package.json +1 -1
|
@@ -9,8 +9,11 @@
|
|
|
9
9
|
#include <stdint.h>
|
|
10
10
|
|
|
11
11
|
#if 1
|
|
12
|
-
|
|
13
|
-
#
|
|
12
|
+
|
|
13
|
+
#if !defined(__APPLE__)
|
|
14
|
+
#include <cstddef>
|
|
15
|
+
#include <cstdint>
|
|
16
|
+
#endif
|
|
14
17
|
|
|
15
18
|
#ifdef WIN32
|
|
16
19
|
#include <winsock2.h>
|
|
@@ -20,6 +23,8 @@
|
|
|
20
23
|
#include <netinet/in.h>
|
|
21
24
|
#endif
|
|
22
25
|
|
|
26
|
+
static const size_t ENGAGE_MAX_CRYPTO_PASSWORD_BYTES = 256;
|
|
27
|
+
|
|
23
28
|
static const int ENGAGE_INVALID_IP_ADDRESS_FAMILY = -1;
|
|
24
29
|
|
|
25
30
|
static const size_t ENGAGE_MAX_RTP_OUTPUT_QUEUE_PACKETS = 100;
|
|
@@ -754,6 +754,20 @@ ENGAGE_API int engageUnmuteGroupTx(const char * _Nonnull id);
|
|
|
754
754
|
ENGAGE_API int engageSetGroupRxVolume(const char * _Nonnull id, int left, int right);
|
|
755
755
|
|
|
756
756
|
|
|
757
|
+
/**
|
|
758
|
+
* @brief [ASYNC] Sets the audio play-out volume of the group
|
|
759
|
+
*
|
|
760
|
+
* This API applies rules to the group.
|
|
761
|
+
*
|
|
762
|
+
* No events are generated by this API call.
|
|
763
|
+
*
|
|
764
|
+
* @param id The ID of the group
|
|
765
|
+
* @param jsonParams A JSON object of type @ref ConfigurationObjects::GroupRules
|
|
766
|
+
* @return ENGAGE_RESULT_OK if the submission request was successful
|
|
767
|
+
*/
|
|
768
|
+
ENGAGE_API int engageSetGroupRules(const char * _Nonnull id, const char * _Nonnull jsonParams);
|
|
769
|
+
|
|
770
|
+
|
|
757
771
|
/**
|
|
758
772
|
* @brief [ASYNC] Updates the application-defined elements of a presence descriptor
|
|
759
773
|
*
|
|
@@ -1373,7 +1387,18 @@ ENGAGE_API const char * _Nonnull engageGetCertStoreCertificatePem(const char * _
|
|
|
1373
1387
|
* @param pem The PEM for which the descriptor is desired.
|
|
1374
1388
|
* @return JSON
|
|
1375
1389
|
*/
|
|
1376
|
-
ENGAGE_API const char * _Nonnull
|
|
1390
|
+
ENGAGE_API const char * _Nonnull engageGetCertificateDescriptorsFromPem(const char * _Nonnull pem);
|
|
1391
|
+
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
* @brief [SYNC] Returns a JSON array, with each element being an object describing the certificate PEM.
|
|
1395
|
+
*
|
|
1396
|
+
* No events are generated by this API call.
|
|
1397
|
+
*
|
|
1398
|
+
* @param pem The PEM for which the descriptor is desired.
|
|
1399
|
+
* @return JSON
|
|
1400
|
+
*/
|
|
1401
|
+
ENGAGE_API const char * _Nonnull engageGetArrayOfCertificateDescriptorsFromPem(const char * _Nonnull pem);
|
|
1377
1402
|
|
|
1378
1403
|
|
|
1379
1404
|
/**
|
|
@@ -1654,6 +1679,26 @@ ENGAGE_API int engageVerifyRiff(const char * _Nonnull fn);
|
|
|
1654
1679
|
|
|
1655
1680
|
ENGAGE_API const char * _Nonnull engageGetRiffDescriptor(const char * _Nonnull fn);
|
|
1656
1681
|
|
|
1682
|
+
|
|
1683
|
+
/**
|
|
1684
|
+
* @brief [SYNC] Generates a signature for a block using a certificate & its private key
|
|
1685
|
+
*
|
|
1686
|
+
* No events are generated by this API call.
|
|
1687
|
+
*
|
|
1688
|
+
* @return SecureSignature JSON as a string
|
|
1689
|
+
*/
|
|
1690
|
+
ENGAGE_API const char * _Nonnull engageGenerateSignature(const uint8_t * _Nonnull block, size_t size, const char * _Nonnull securityCertificateJson);
|
|
1691
|
+
|
|
1692
|
+
|
|
1693
|
+
/**
|
|
1694
|
+
* @brief [SYNC] Verifies a signature for a block using a certificate
|
|
1695
|
+
*
|
|
1696
|
+
* No events are generated by this API call.
|
|
1697
|
+
*
|
|
1698
|
+
* @return JSON
|
|
1699
|
+
*/
|
|
1700
|
+
ENGAGE_API int engageVerifySignature(const uint8_t * _Nonnull block, size_t size, const char * _Nonnull secureSignatureJson);
|
|
1701
|
+
|
|
1657
1702
|
// TODO: Engage compression/decompression functions not available at this time
|
|
1658
1703
|
#if 0
|
|
1659
1704
|
/**
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED