Update to RingRTC v2.36.0

This commit is contained in:
Jim Gustafson 2024-01-09 15:36:10 -08:00 committed by Scott Nonnenberg
parent 038194c946
commit 861f35aa53
5 changed files with 13 additions and 40 deletions

View file

@ -54,8 +54,6 @@ message Content {
optional EditMessage editMessage = 11;
}
// Everything in CallingMessage must be kept in sync with RingRTC (ringrtc-node).
// Whenever you change this, make sure you change textsecure.d.ts and RingRTC.
message CallingMessage {
message Offer {
enum Type {
@ -64,27 +62,22 @@ message CallingMessage {
}
optional uint64 callId = 1;
// Legacy/deprecated; replaced by 'opaque'
optional string sdp = 2;
reserved /* sdp */ 2;
optional Type type = 3;
optional bytes opaque = 4;
}
message Answer {
optional uint64 callId = 1;
// Legacy/deprecated; replaced by 'opaque'
optional string sdp = 2;
reserved /* sdp */ 2;
optional bytes opaque = 3;
}
message IceCandidate {
optional uint64 callId = 1;
// Legacy/deprecated; remove when old clients are gone.
optional string mid = 2;
// Legacy/deprecated; remove when old clients are gone.
optional uint32 line = 3;
// Legacy/deprecated; replaced by 'opaque'
optional string sdp = 4;
reserved /* mid */ 2;
reserved /* line */ 3;
reserved /* sdp */ 4;
optional bytes opaque = 5;
}
@ -119,10 +112,11 @@ message CallingMessage {
optional Offer offer = 1;
optional Answer answer = 2;
repeated IceCandidate iceCandidates = 3;
optional Hangup legacyHangup = 4;
reserved /* legacyHangup */ 4;
optional Busy busy = 5;
reserved /* profileKey */ 6;
optional Hangup hangup = 7;
optional bool supportsMultiRing = 8;
reserved /* multiRing */ 8;
optional uint32 destinationDeviceId = 9;
optional Opaque opaque = 10;
}