Update to RingRTC v2.3.1
This commit is contained in:
parent
7f71046f93
commit
12745a2c79
5 changed files with 13 additions and 11 deletions
|
@ -131,7 +131,7 @@
|
|||
"redux-ts-utils": "3.2.2",
|
||||
"reselect": "4.0.0",
|
||||
"rimraf": "2.6.2",
|
||||
"ringrtc": "https://github.com/signalapp/signal-ringrtc-node.git#e6e49910e0047675c9d201b6e5f085486a83bc0c",
|
||||
"ringrtc": "https://github.com/signalapp/signal-ringrtc-node.git#29a00a1e63697026313fa819f20276c47d0afdc5",
|
||||
"sanitize-filename": "1.6.3",
|
||||
"sanitize.css": "11.0.0",
|
||||
"semver": "5.4.1",
|
||||
|
|
|
@ -43,7 +43,6 @@ message CallingMessage {
|
|||
enum Type {
|
||||
OFFER_AUDIO_CALL = 0;
|
||||
OFFER_VIDEO_CALL = 1;
|
||||
OFFER_NEEDS_PERMISSION = 2;
|
||||
}
|
||||
|
||||
optional uint64 callId = 1;
|
||||
|
@ -69,10 +68,11 @@ message CallingMessage {
|
|||
|
||||
message Hangup {
|
||||
enum Type {
|
||||
HANGUP_NORMAL = 0;
|
||||
HANGUP_ACCEPTED = 1;
|
||||
HANGUP_DECLINED = 2;
|
||||
HANGUP_BUSY = 3;
|
||||
HANGUP_NORMAL = 0;
|
||||
HANGUP_ACCEPTED = 1;
|
||||
HANGUP_DECLINED = 2;
|
||||
HANGUP_BUSY = 3;
|
||||
HANGUP_NEED_PERMISSION = 4;
|
||||
}
|
||||
|
||||
optional uint64 callId = 1;
|
||||
|
|
|
@ -410,7 +410,9 @@ export class CallingClass {
|
|||
(endedReason === CallEndedReason.Declined ||
|
||||
endedReason === CallEndedReason.DeclinedOnAnotherDevice ||
|
||||
(isIncoming && endedReason === CallEndedReason.LocalHangup) ||
|
||||
(isOutgoing && endedReason === CallEndedReason.RemoteHangup));
|
||||
(isOutgoing && endedReason === CallEndedReason.RemoteHangup) ||
|
||||
(isOutgoing &&
|
||||
endedReason === CallEndedReason.RemoteHangupNeedPermission));
|
||||
if (call.endedReason === CallEndedReason.AcceptedOnAnotherDevice) {
|
||||
// tslint:disable-next-line no-parameter-reassignment
|
||||
acceptedTime = Date.now();
|
||||
|
|
2
ts/textsecure.d.ts
vendored
2
ts/textsecure.d.ts
vendored
|
@ -748,7 +748,6 @@ export class OfferMessageClass {
|
|||
export enum OfferType {
|
||||
AudioCall = 0,
|
||||
VideoCall = 1,
|
||||
NeedsPermission = 2,
|
||||
}
|
||||
|
||||
export class AnswerMessageClass {
|
||||
|
@ -778,4 +777,5 @@ export enum HangupType {
|
|||
Accepted = 1,
|
||||
Declined = 2,
|
||||
Busy = 3,
|
||||
NeedPermission = 4,
|
||||
}
|
||||
|
|
|
@ -14931,9 +14931,9 @@ rimraf@~2.4.0:
|
|||
dependencies:
|
||||
glob "^6.0.1"
|
||||
|
||||
"ringrtc@https://github.com/signalapp/signal-ringrtc-node.git#e6e49910e0047675c9d201b6e5f085486a83bc0c":
|
||||
version "2.2.0"
|
||||
resolved "https://github.com/signalapp/signal-ringrtc-node.git#e6e49910e0047675c9d201b6e5f085486a83bc0c"
|
||||
"ringrtc@https://github.com/signalapp/signal-ringrtc-node.git#29a00a1e63697026313fa819f20276c47d0afdc5":
|
||||
version "2.3.1"
|
||||
resolved "https://github.com/signalapp/signal-ringrtc-node.git#29a00a1e63697026313fa819f20276c47d0afdc5"
|
||||
|
||||
ripemd160@^2.0.0, ripemd160@^2.0.1:
|
||||
version "2.0.1"
|
||||
|
|
Loading…
Reference in a new issue