@signalapp/ringrtc 2.44.4 → 2.45.0
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/dist/acknowledgments.md
CHANGED
|
@@ -669,7 +669,7 @@ For more information on this, and how to apply and follow the GNU AGPL, see
|
|
|
669
669
|
|
|
670
670
|
```
|
|
671
671
|
|
|
672
|
-
## libsignal-core 0.1.0, mrp 2.
|
|
672
|
+
## libsignal-core 0.1.0, mrp 2.45.0, protobuf 2.45.0, ringrtc 2.45.0, regex-aot 0.1.0, partial-default-derive 0.1.0
|
|
673
673
|
|
|
674
674
|
```
|
|
675
675
|
GNU AFFERO GENERAL PUBLIC LICENSE
|
|
@@ -151,7 +151,8 @@ export declare class RingRTCType {
|
|
|
151
151
|
* const secretParams = CallLinkSecretParams.deriveFromRootKey(linkKey.bytes);
|
|
152
152
|
* const credentialPresentation = credential.present(roomId, secretParams).serialize();
|
|
153
153
|
* const serializedPublicParams = secretParams.getPublicParams().serialize();
|
|
154
|
-
* const
|
|
154
|
+
* const restrictions = CallLinkState.Restrictions.None;
|
|
155
|
+
* const result = await RingRTC.createCallLink(sfuUrl, credentialPresentation, linkKey, adminPasskey, serializedPublicParams, restrictions);
|
|
155
156
|
* if (result.success) {
|
|
156
157
|
* const state = result.value;
|
|
157
158
|
* // In actuality you may not want to do this until the user clicks Done.
|
|
@@ -173,7 +174,7 @@ export declare class RingRTCType {
|
|
|
173
174
|
* @param adminPasskey - the arbitrary passkey to use for the new room
|
|
174
175
|
* @param callLinkPublicParams - the serialized CallLinkPublicParams for the new room
|
|
175
176
|
*/
|
|
176
|
-
createCallLink(sfuUrl: string, createCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, adminPasskey: Buffer, callLinkPublicParams: Buffer): Promise<HttpResult<CallLinkState>>;
|
|
177
|
+
createCallLink(sfuUrl: string, createCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, adminPasskey: Buffer, callLinkPublicParams: Buffer, restrictions: Exclude<CallLinkRestrictions, CallLinkRestrictions.Unknown>): Promise<HttpResult<CallLinkState>>;
|
|
177
178
|
/**
|
|
178
179
|
* Asynchronous request to update a call link's name.
|
|
179
180
|
*
|
|
@@ -652,7 +653,7 @@ export interface CallManager {
|
|
|
652
653
|
receiveGroupCallVideoFrame(clientId: GroupCallClientId, remoteDemuxId: number, buffer: Buffer, maxWidth: number, maxHeight: number): [number, number] | undefined;
|
|
653
654
|
setRtcStatsInterval(clientId: GroupCallClientId, intervalMillis: number): void;
|
|
654
655
|
readCallLink(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer): void;
|
|
655
|
-
createCallLink(requestId: number, sfuUrl: string, createCredentialPresentation: Buffer, linkRootKey: Buffer, adminPasskey: Buffer, callLinkPublicParams: Buffer): void;
|
|
656
|
+
createCallLink(requestId: number, sfuUrl: string, createCredentialPresentation: Buffer, linkRootKey: Buffer, adminPasskey: Buffer, callLinkPublicParams: Buffer, restrictions: number | undefined): void;
|
|
656
657
|
updateCallLink(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer, adminPasskey: Buffer, newName: string | undefined, newRestrictions: number | undefined, newRevoked: boolean | undefined): void;
|
|
657
658
|
deleteCallLink(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer, adminPasskey: Buffer): void;
|
|
658
659
|
peekGroupCall(requestId: number, sfu_url: string, membership_proof: Buffer, group_members: Array<GroupMemberInfo>): void;
|
package/dist/ringrtc/Service.js
CHANGED
|
@@ -579,7 +579,8 @@ class RingRTCType {
|
|
|
579
579
|
* const secretParams = CallLinkSecretParams.deriveFromRootKey(linkKey.bytes);
|
|
580
580
|
* const credentialPresentation = credential.present(roomId, secretParams).serialize();
|
|
581
581
|
* const serializedPublicParams = secretParams.getPublicParams().serialize();
|
|
582
|
-
* const
|
|
582
|
+
* const restrictions = CallLinkState.Restrictions.None;
|
|
583
|
+
* const result = await RingRTC.createCallLink(sfuUrl, credentialPresentation, linkKey, adminPasskey, serializedPublicParams, restrictions);
|
|
583
584
|
* if (result.success) {
|
|
584
585
|
* const state = result.value;
|
|
585
586
|
* // In actuality you may not want to do this until the user clicks Done.
|
|
@@ -601,11 +602,11 @@ class RingRTCType {
|
|
|
601
602
|
* @param adminPasskey - the arbitrary passkey to use for the new room
|
|
602
603
|
* @param callLinkPublicParams - the serialized CallLinkPublicParams for the new room
|
|
603
604
|
*/
|
|
604
|
-
createCallLink(sfuUrl, createCredentialPresentation, linkRootKey, adminPasskey, callLinkPublicParams) {
|
|
605
|
+
createCallLink(sfuUrl, createCredentialPresentation, linkRootKey, adminPasskey, callLinkPublicParams, restrictions) {
|
|
605
606
|
const [requestId, promise] = this._callLinkRequests.add();
|
|
606
607
|
// Response comes back via handleCallLinkResponse
|
|
607
608
|
sillyDeadlockProtection(() => {
|
|
608
|
-
this.callManager.createCallLink(requestId, sfuUrl, createCredentialPresentation, linkRootKey.bytes, adminPasskey, callLinkPublicParams);
|
|
609
|
+
this.callManager.createCallLink(requestId, sfuUrl, createCredentialPresentation, linkRootKey.bytes, adminPasskey, callLinkPublicParams, restrictions);
|
|
609
610
|
});
|
|
610
611
|
return promise;
|
|
611
612
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signalapp/ringrtc",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.45.0",
|
|
4
4
|
"description": "Signal Messenger voice and video calling library.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"config": {
|
|
27
27
|
"prebuildUrl": "https://build-artifacts.signal.org/libraries/ringrtc-desktop-build-v${npm_package_version}.tar.gz",
|
|
28
|
-
"prebuildChecksum": "
|
|
28
|
+
"prebuildChecksum": "b915fd02779133ccf67b7d18e73b1eb4631aab54348b9aac8411b6da2b46ca7a"
|
|
29
29
|
},
|
|
30
30
|
"author": "",
|
|
31
31
|
"license": "AGPL-3.0-only",
|