Update to RingRTC v2.23.0
This commit is contained in:
parent
235a188291
commit
01eb3b73b4
22 changed files with 33 additions and 29 deletions
|
@ -90,6 +90,7 @@
|
|||
"@react-spring/web": "9.5.5",
|
||||
"@signalapp/better-sqlite3": "8.0.4",
|
||||
"@signalapp/libsignal-client": "0.21.1",
|
||||
"@signalapp/ringrtc": "=2.23.0",
|
||||
"@sindresorhus/is": "0.8.0",
|
||||
"@types/fabric": "4.5.3",
|
||||
"array-move": "2.1.0",
|
||||
|
@ -169,7 +170,6 @@
|
|||
"redux-ts-utils": "3.2.2",
|
||||
"reselect": "4.1.2",
|
||||
"rimraf": "2.6.2",
|
||||
"ringrtc": "https://github.com/signalapp/signal-ringrtc-node.git#9a9d9fbc1ca43e7a0707a960ce9642dbf82dc64a",
|
||||
"sanitize.css": "11.0.0",
|
||||
"semver": "5.4.1",
|
||||
"split2": "4.0.0",
|
||||
|
@ -334,7 +334,7 @@
|
|||
}
|
||||
],
|
||||
"mergeASARs": true,
|
||||
"singleArchFiles": "node_modules/{@signalapp/libsignal-client/prebuilds/**,ringrtc/build/**}",
|
||||
"singleArchFiles": "node_modules/@signalapp/{libsignal-client/prebuilds/**,ringrtc/build/**}",
|
||||
"target": [
|
||||
{
|
||||
"target": "zip",
|
||||
|
@ -482,7 +482,8 @@
|
|||
"!node_modules/@signalapp/better-sqlite3/src/*",
|
||||
"node_modules/@signalapp/better-sqlite3/build/Release/better_sqlite3.node",
|
||||
"node_modules/@signalapp/libsignal-client/prebuilds/${platform}-${arch}/*.node",
|
||||
"node_modules/ringrtc/build/${platform}/*${arch}*.node",
|
||||
"!node_modules/@signalapp/ringrtc/scripts/*",
|
||||
"node_modules/@signalapp/ringrtc/build/${platform}/*${arch}*.node",
|
||||
"node_modules/mac-screen-capture-permissions/build/Release/*.node",
|
||||
"!**/node_modules/react-dom/*/*.development.js",
|
||||
"!node_modules/mp4box/**",
|
||||
|
|
|
@ -31,12 +31,12 @@ const bundleDefaults = {
|
|||
// Native libraries
|
||||
'@signalapp/libsignal-client',
|
||||
'@signalapp/libsignal-client/zkgroup',
|
||||
'@signalapp/ringrtc',
|
||||
'@signalapp/better-sqlite3',
|
||||
'electron',
|
||||
'fs-xattr',
|
||||
'fsevents',
|
||||
'mac-screen-capture-permissions',
|
||||
'ringrtc',
|
||||
'sass',
|
||||
'bufferutil',
|
||||
'utf-8-validate',
|
||||
|
|
|
@ -13,8 +13,8 @@ const {
|
|||
} = require('../package.json');
|
||||
|
||||
const SKIPPED_DEPENDENCIES = new Set([
|
||||
'ringrtc',
|
||||
'@signalapp/libsignal-client',
|
||||
'@signalapp/ringrtc',
|
||||
]);
|
||||
|
||||
const rootDir = join(__dirname, '..');
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import type { AudioDevice } from 'ringrtc';
|
||||
import type { AudioDevice } from '@signalapp/ringrtc';
|
||||
import { AudioDeviceModule } from './audioDeviceModule';
|
||||
|
||||
export function findBestMatchingAudioDeviceIndex({
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
import React, { useCallback, useEffect } from 'react';
|
||||
import { noop } from 'lodash';
|
||||
import type { VideoFrameSource } from 'ringrtc';
|
||||
import type { VideoFrameSource } from '@signalapp/ringrtc';
|
||||
import { CallNeedPermissionScreen } from './CallNeedPermissionScreen';
|
||||
import { CallScreen } from './CallScreen';
|
||||
import { CallingLobby } from './CallingLobby';
|
||||
|
|
|
@ -5,7 +5,7 @@ import type { ReactNode } from 'react';
|
|||
import React, { useState, useRef, useEffect, useCallback } from 'react';
|
||||
import { noop } from 'lodash';
|
||||
import classNames from 'classnames';
|
||||
import type { VideoFrameSource } from 'ringrtc';
|
||||
import type { VideoFrameSource } from '@signalapp/ringrtc';
|
||||
import type {
|
||||
ActiveCallStateType,
|
||||
SetLocalAudioType,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import * as React from 'react';
|
||||
import type { AudioDevice } from 'ringrtc';
|
||||
import type { AudioDevice } from '@signalapp/ringrtc';
|
||||
|
||||
import { Modal } from './Modal';
|
||||
import type { LocalizerType } from '../types/Util';
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
import React from 'react';
|
||||
import { minBy, debounce, noop } from 'lodash';
|
||||
import type { VideoFrameSource } from 'ringrtc';
|
||||
import type { VideoFrameSource } from '@signalapp/ringrtc';
|
||||
import { CallingPipRemoteVideo } from './CallingPipRemoteVideo';
|
||||
import type { LocalizerType } from '../types/Util';
|
||||
import type { ActiveCallType, GroupCallVideoRequest } from '../types/Calling';
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
import React, { useMemo, useEffect } from 'react';
|
||||
import { clamp, maxBy } from 'lodash';
|
||||
import type { VideoFrameSource } from 'ringrtc';
|
||||
import type { VideoFrameSource } from '@signalapp/ringrtc';
|
||||
import { Avatar, AvatarSize } from './Avatar';
|
||||
import { CallBackgroundBlur } from './CallBackgroundBlur';
|
||||
import { DirectCallRemoteParticipant } from './DirectCallRemoteParticipant';
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
import type { ReactElement } from 'react';
|
||||
import React, { useRef, useState, useEffect } from 'react';
|
||||
import classNames from 'classnames';
|
||||
import type { VideoFrameSource } from 'ringrtc';
|
||||
import type { VideoFrameSource } from '@signalapp/ringrtc';
|
||||
import type { LocalizerType } from '../types/Util';
|
||||
import type { GroupCallRemoteParticipantType } from '../types/Calling';
|
||||
import { GroupCallRemoteParticipant } from './GroupCallRemoteParticipant';
|
||||
|
|
|
@ -11,7 +11,7 @@ import React, {
|
|||
} from 'react';
|
||||
import classNames from 'classnames';
|
||||
import { noop } from 'lodash';
|
||||
import type { VideoFrameSource } from 'ringrtc';
|
||||
import type { VideoFrameSource } from '@signalapp/ringrtc';
|
||||
import type { GroupCallRemoteParticipantType } from '../types/Calling';
|
||||
import type { LocalizerType } from '../types/Util';
|
||||
import { AvatarColors } from '../types/Colors';
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
import React, { useCallback, useState, useMemo, useEffect } from 'react';
|
||||
import Measure from 'react-measure';
|
||||
import { takeWhile, clamp, chunk, maxBy, flatten, noop } from 'lodash';
|
||||
import type { VideoFrameSource } from 'ringrtc';
|
||||
import type { VideoFrameSource } from '@signalapp/ringrtc';
|
||||
import { GroupCallRemoteParticipant } from './GroupCallRemoteParticipant';
|
||||
import {
|
||||
GroupCallOverflowArea,
|
||||
|
|
|
@ -5,7 +5,7 @@ import type { ReactNode } from 'react';
|
|||
import React, { useEffect, useState, useCallback } from 'react';
|
||||
import { noop } from 'lodash';
|
||||
import classNames from 'classnames';
|
||||
import type { AudioDevice } from 'ringrtc';
|
||||
import type { AudioDevice } from '@signalapp/ringrtc';
|
||||
|
||||
import type { MediaDeviceSettings } from '../types/Calling';
|
||||
import type {
|
||||
|
|
|
@ -13,7 +13,7 @@ import type {
|
|||
UserId,
|
||||
VideoFrameSource,
|
||||
VideoRequest,
|
||||
} from 'ringrtc';
|
||||
} from '@signalapp/ringrtc';
|
||||
import {
|
||||
Call,
|
||||
CallEndedReason,
|
||||
|
@ -34,7 +34,7 @@ import {
|
|||
RingRTC,
|
||||
RingUpdate,
|
||||
BandwidthMode,
|
||||
} from 'ringrtc';
|
||||
} from '@signalapp/ringrtc';
|
||||
import { uniqBy, noop } from 'lodash';
|
||||
|
||||
import type {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
import { ipcRenderer } from 'electron';
|
||||
import type { ThunkAction, ThunkDispatch } from 'redux-thunk';
|
||||
import { CallEndedReason } from 'ringrtc';
|
||||
import { CallEndedReason } from '@signalapp/ringrtc';
|
||||
import {
|
||||
hasScreenCapturePermission,
|
||||
openSystemPreferences,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import type { VideoFrameSource } from 'ringrtc';
|
||||
import type { VideoFrameSource } from '@signalapp/ringrtc';
|
||||
|
||||
const COLORS: Array<[number, number, number]> = [
|
||||
[0xff, 0x00, 0x00],
|
||||
|
|
|
@ -8,7 +8,7 @@ import {
|
|||
HangupMessage,
|
||||
HangupType,
|
||||
OpaqueMessage,
|
||||
} from 'ringrtc';
|
||||
} from '@signalapp/ringrtc';
|
||||
import { SignalService as Proto } from '../../protobuf';
|
||||
|
||||
import { callingMessageToProto } from '../../util/callingMessageToProto';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright 2020 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import type { AudioDevice } from 'ringrtc';
|
||||
import type { AudioDevice } from '@signalapp/ringrtc';
|
||||
import type { ConversationType } from '../state/ducks/conversations';
|
||||
|
||||
// These are strings (1) for the database (2) for Storybook.
|
||||
|
|
2
ts/types/Storage.d.ts
vendored
2
ts/types/Storage.d.ts
vendored
|
@ -1,7 +1,7 @@
|
|||
// Copyright 2020 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import type { AudioDevice } from 'ringrtc';
|
||||
import type { AudioDevice } from '@signalapp/ringrtc';
|
||||
import type {
|
||||
CustomColorsItemType,
|
||||
DefaultConversationColorType,
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import type { CallingMessage } from 'ringrtc';
|
||||
import { CallMessageUrgency } from 'ringrtc';
|
||||
import type { CallingMessage } from '@signalapp/ringrtc';
|
||||
import { CallMessageUrgency } from '@signalapp/ringrtc';
|
||||
import { SignalService as Proto } from '../protobuf';
|
||||
import * as log from '../logging/log';
|
||||
import { missingCaseError } from './missingCaseError';
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { webFrame } from 'electron';
|
||||
import type { AudioDevice } from 'ringrtc';
|
||||
import type { AudioDevice } from '@signalapp/ringrtc';
|
||||
import { noop } from 'lodash';
|
||||
import { getStoriesAvailable } from './stories';
|
||||
|
||||
|
|
11
yarn.lock
11
yarn.lock
|
@ -2073,6 +2073,13 @@
|
|||
uuid "^8.3.2"
|
||||
ws "^8.4.2"
|
||||
|
||||
"@signalapp/ringrtc@=2.23.0":
|
||||
version "2.23.0"
|
||||
resolved "https://registry.yarnpkg.com/@signalapp/ringrtc/-/ringrtc-2.23.0.tgz#982fb6268eab2eb35a61624149b5f9ce9af28907"
|
||||
integrity sha512-3Yj+s7jXWM172rrAADg5MXKdAbS7CWa62TavCMzFy3+Q0UtlrOFfTlnzT7XW+W+0QUhVYE5juLh3GzuS3B1gzw==
|
||||
dependencies:
|
||||
tar "^6.1.0"
|
||||
|
||||
"@sindresorhus/is@0.8.0":
|
||||
version "0.8.0"
|
||||
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.8.0.tgz#073aee40b0aab2d4ace33c0a2a2672a37da6fa12"
|
||||
|
@ -15540,10 +15547,6 @@ rimraf@^3.0.0, rimraf@^3.0.2:
|
|||
dependencies:
|
||||
glob "^7.1.3"
|
||||
|
||||
"ringrtc@https://github.com/signalapp/signal-ringrtc-node.git#9a9d9fbc1ca43e7a0707a960ce9642dbf82dc64a":
|
||||
version "2.22.0"
|
||||
resolved "https://github.com/signalapp/signal-ringrtc-node.git#9a9d9fbc1ca43e7a0707a960ce9642dbf82dc64a"
|
||||
|
||||
ripemd160@^2.0.0, ripemd160@^2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.1.tgz#0f4584295c53a3628af7e6d79aca21ce57d1c6e7"
|
||||
|
|
Loading…
Reference in a new issue