@signalapp/ringrtc
Advanced tools
Comparing version 2.28.1 to 2.29.0
@@ -22,2 +22,3 @@ /// <reference types="node" /> | ||
deviceCount: number; | ||
pendingUsers: Array<GroupCallUserId>; | ||
} | ||
@@ -335,14 +336,16 @@ export declare enum PeekStatusCodes { | ||
ServerExplicitlyDisconnected = 1, | ||
CallManagerIsBusy = 2, | ||
SfuClientFailedToJoin = 3, | ||
FailedToCreatePeerConnectionFactory = 4, | ||
FailedToNegotiateSrtpKeys = 5, | ||
FailedToCreatePeerConnection = 6, | ||
FailedToStartPeerConnection = 7, | ||
FailedToUpdatePeerConnection = 8, | ||
FailedToSetMaxSendBitrate = 9, | ||
IceFailedWhileConnecting = 10, | ||
IceFailedAfterConnected = 11, | ||
ServerChangedDemuxId = 12, | ||
HasMaxDevices = 13 | ||
DeniedRequestToJoinCall = 2, | ||
RemovedFromCall = 3, | ||
CallManagerIsBusy = 4, | ||
SfuClientFailedToJoin = 5, | ||
FailedToCreatePeerConnectionFactory = 6, | ||
FailedToNegotiateSrtpKeys = 7, | ||
FailedToCreatePeerConnection = 8, | ||
FailedToStartPeerConnection = 9, | ||
FailedToUpdatePeerConnection = 10, | ||
FailedToSetMaxSendBitrate = 11, | ||
IceFailedWhileConnecting = 12, | ||
IceFailedAfterConnected = 13, | ||
ServerChangedDemuxId = 14, | ||
HasMaxDevices = 15 | ||
} | ||
@@ -447,2 +450,6 @@ export declare enum CallMessageUrgency { | ||
requestVideo(resolutions: Array<VideoRequest>, activeSpeakerHeight: number): void; | ||
approveUser(otherUserId: Buffer): void; | ||
denyUser(otherUserId: Buffer): void; | ||
removeClient(otherClientDemuxId: number): void; | ||
blockClient(otherClientDemuxId: number): void; | ||
setGroupMembers(members: Array<GroupMemberInfo>): void; | ||
@@ -579,2 +586,6 @@ setMembershipProof(proof: Buffer): void; | ||
requestVideo(clientId: GroupCallClientId, resolutions: Array<VideoRequest>, activeSpeakerHeight: number): void; | ||
approveUser(clientId: GroupCallClientId, otherUserId: Buffer): void; | ||
denyUser(clientId: GroupCallClientId, otherUserId: Buffer): void; | ||
removeClient(clientId: GroupCallClientId, otherClientDemuxId: number): void; | ||
blockClient(clientId: GroupCallClientId, otherClientDemuxId: number): void; | ||
setGroupMembers(clientId: GroupCallClientId, members: Array<GroupMemberInfo>): void; | ||
@@ -581,0 +592,0 @@ setMembershipProof(clientId: GroupCallClientId, proof: Buffer): void; |
@@ -133,8 +133,11 @@ "use strict"; | ||
max: options.maxWidth, | ||
ideal: options.maxWidth, | ||
}, | ||
height: { | ||
max: options.maxHeight, | ||
ideal: options.maxHeight, | ||
}, | ||
frameRate: { | ||
max: options.maxFramerate, | ||
ideal: options.maxFramerate, | ||
}, | ||
@@ -275,2 +278,6 @@ }, | ||
} | ||
const visibleRect = frame.visibleRect; | ||
if (!visibleRect) { | ||
continue; | ||
} | ||
yield frame.copyTo(buffer); | ||
@@ -280,3 +287,3 @@ if (sender !== this.sender) { | ||
} | ||
sender.sendVideoFrame(frame.codedWidth, frame.codedHeight, format, buffer); | ||
sender.sendVideoFrame(visibleRect.width, visibleRect.height, format, buffer); | ||
} | ||
@@ -283,0 +290,0 @@ catch (e) { |
{ | ||
"name": "@signalapp/ringrtc", | ||
"version": "2.28.1", | ||
"version": "2.29.0", | ||
"description": "Signal Messenger voice and video calling library.", | ||
@@ -26,3 +26,3 @@ "main": "dist/index.js", | ||
"prebuildUrl": "https://build-artifacts.signal.org/libraries/ringrtc-desktop-build-v${npm_package_version}.tar.gz", | ||
"prebuildChecksum": "dbb62fd077e90117bb6c4d093c8da810067054ad4f577e943e0b9ed22419a10b" | ||
"prebuildChecksum": "dae749c2e95b583012db0c0b05ca32385bab287a671eb33afcfb7e18ee9f982b" | ||
}, | ||
@@ -29,0 +29,0 @@ "author": "", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
143779
3202