Update to RingRTC v2.22.0

Co-authored-by: Jordan Rose <jrose@signal.org>
This commit is contained in:
Jim Gustafson 2022-11-29 13:43:16 -08:00 committed by GitHub
parent 212a6c0c38
commit fb4d3f4495
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 21 additions and 15 deletions

View File

@ -58,10 +58,10 @@ PODS:
- SignalCoreKit/Tests (1.0.0):
- CocoaLumberjack
- OpenSSL-Universal
- SignalRingRTC (2.21.5):
- SignalRingRTC (2.22.0):
- SignalCoreKit
- SignalRingRTC/WebRTC (= 2.21.5)
- SignalRingRTC/WebRTC (2.21.5):
- SignalRingRTC/WebRTC (= 2.22.0)
- SignalRingRTC/WebRTC (2.22.0):
- SignalCoreKit
- SQLCipher (4.5.1):
- SQLCipher/standard (= 4.5.1)
@ -229,7 +229,7 @@ SPEC CHECKSUMS:
SAMKeychain: 483e1c9f32984d50ca961e26818a534283b4cd5c
SignalArgon2: 1c24183835ca861e6af06631c18b1671cdf35571
SignalCoreKit: 9febad2d82f80c5b2f446740c68f1fba6d4cd9b2
SignalRingRTC: 868ab2bb72d4d4be55466452c2a5c2545cafe25c
SignalRingRTC: c1f7c9f5c789ec821520f02bc48077c4bb3582d3
SQLCipher: 712e8416685e8e575b9b0706ffee71678b2fdcf8
SSZipArchive: 8c3485528a87fa6f90afdbfc33682eb61d985ae5
Starscream: 4bb2f9942274833f7b4d296a55504dcfc7edb7b0

2
Pods

@ -1 +1 @@
Subproject commit c6e2c61d5bbb278d65002bc6ec2405d3e48f7b71
Subproject commit dbbaeb10f951df1be7f7a3467925e696680c8f5a

View File

@ -5,7 +5,7 @@
<key>BuildDetails</key>
<dict>
<key>WebRTCCommit</key>
<string>d20b610393af19f96f42137f2c044e5bdcc50768 Production build of v2.21.5</string>
<string>84e3476fa50e2301c729ace5452ab4b02eb50664 Production build of v2.22.0</string>
</dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>

View File

@ -1321,7 +1321,7 @@ extension CallService: CallManagerDelegate {
sender: UUID,
update: RingUpdate
) {
guard RemoteConfig.groupRings else {
guard RemoteConfig.inboundGroupRings else {
return
}

View File

@ -228,7 +228,7 @@ public class SignalCall: NSObject, CallManagerCallReference {
behavior: .call
)
thread = groupThread
if !RemoteConfig.groupRings {
if !RemoteConfig.outboundGroupRings {
ringRestrictions = .notApplicable
} else {
ringRestrictions = []

View File

@ -66,7 +66,7 @@ public class NSECallMessageHandler: NSObject, OWSCallMessageHandler {
if opaqueMessage.urgency == .handleImmediately,
let opaqueData = opaqueMessage.data,
RemoteConfig.groupRings,
RemoteConfig.inboundGroupRings,
isValidOpaqueRing(opaqueCallMessage: opaqueData,
messageAgeSec: messageAgeForRingRtc,
validateGroupRing: validateGroupRing) {

View File

@ -225,8 +225,13 @@ public class RemoteConfig: BaseFlags {
public static var canSendGiftBadges: Bool { FeatureFlags.canSendGiftBadges }
public static var groupRings: Bool {
DebugFlags.internalSettings || isEnabled(.groupRings)
public static var inboundGroupRings: Bool {
DebugFlags.internalSettings || !isEnabled(.inboundGroupRingsKillSwitch)
}
public static var outboundGroupRings: Bool {
// When we're ready to enable outbound rings in production, remove the check for 'isPrerelease'.
DebugFlags.internalSettings || (FeatureFlags.isPrerelease && isEnabled(.groupRings2))
}
public static var maxGroupCallRingSize: UInt {
@ -448,7 +453,8 @@ private struct Flags {
case changePhoneNumberUI
case keepMutedChatsArchivedOption
case canReceiveGiftBadges
case groupRings
case groupRings2
case inboundGroupRingsKillSwitch
case storiesKillSwitch
}

2
ThirdParty/RingRTC vendored

@ -1 +1 @@
Subproject commit 965213f6e5cacf1cc2ea23f354061a63a137cd65
Subproject commit 53349e443c5e218ac6ad21aa85d152fd5690cbaf

View File

@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = "SignalRingRTC"
s.version = "2.21.5"
s.version = "2.22.0"
s.summary = "A Swift & Objective-C library used by the Signal iOS app for WebRTC interactions."
s.description = <<-DESC

2
ThirdParty/WebRTC vendored

@ -1 +1 @@
Subproject commit d20b610393af19f96f42137f2c044e5bdcc50768
Subproject commit 84e3476fa50e2301c729ace5452ab4b02eb50664