Skip to content

Commit

Permalink
Release 1.10.5 - Added a feature to detect connection qualities in on…
Browse files Browse the repository at this point in the history
…going Direct Calls
  • Loading branch information
mininny committed Apr 12, 2023
1 parent 3d9b8a3 commit 69a70e0
Show file tree
Hide file tree
Showing 25 changed files with 902 additions and 348 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

### 1.10.5 (Apr 12, 2023)
- Added a feature to detect connection qualities in ongoing Direct Calls.
- Added `ConnectionQualityDelegate`
- Added `ConnectionMetrics`

### 1.10.4 (Mar 22, 2023 UTC)
* Fixed a "virtual filesystem overlay file not found" bug on Xcode.

Expand Down
2 changes: 1 addition & 1 deletion SendBirdCalls.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "SendBirdCalls"
s.version = "1.10.4"
s.version = "1.10.5"
s.summary = "real-time calls based on Sendbird Calls SDK"
s.description = "Sendbird Calls enables real-time calls between users registered within a Sendbird application"
s.homepage = "https://sendbird.com"
Expand Down
16 changes: 8 additions & 8 deletions SendBirdCalls.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,38 @@
<key>AvailableLibraries</key>
<array>
<dict>
<key>BitcodeSymbolMapsPath</key>
<string>BCSymbolMaps</string>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>SendBirdCalls.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BitcodeSymbolMapsPath</key>
<string>BCSymbolMaps</string>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>SendBirdCalls.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,6 @@ typedef SWIFT_ENUM_NAMED(NSInteger, SBCDirectCallUserRole, "UserRole", open) {
@end



@class SBCError;

@interface SBCDirectCall (SWIFT_EXTENSION(SendBirdCalls))
Expand Down Expand Up @@ -669,6 +668,15 @@ typedef SWIFT_ENUM_NAMED(NSInteger, SBCDirectCallUserRole, "UserRole", open) {
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@end


@interface SBCDirectCall (SWIFT_EXTENSION(SendBirdCalls))
/// Removes the listener for connection quality and its monitoring modes.
/// since:
/// 1.10.5
- (void)removeConnectionQualityDelegate;
@end


@class SBCRecordingOptions;

@interface SBCDirectCall (SWIFT_EXTENSION(SendBirdCalls))
Expand Down Expand Up @@ -708,7 +716,6 @@ typedef SWIFT_ENUM_NAMED(NSInteger, SBCDirectCallUserRole, "UserRole", open) {




@class SBCVideoDevice;
@class UIImage;

Expand Down Expand Up @@ -3843,7 +3850,6 @@ typedef SWIFT_ENUM_NAMED(NSInteger, SBCDirectCallUserRole, "UserRole", open) {
@end



@class SBCError;

@interface SBCDirectCall (SWIFT_EXTENSION(SendBirdCalls))
Expand Down Expand Up @@ -3892,6 +3898,15 @@ typedef SWIFT_ENUM_NAMED(NSInteger, SBCDirectCallUserRole, "UserRole", open) {
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@end


@interface SBCDirectCall (SWIFT_EXTENSION(SendBirdCalls))
/// Removes the listener for connection quality and its monitoring modes.
/// since:
/// 1.10.5
- (void)removeConnectionQualityDelegate;
@end


@class SBCRecordingOptions;

@interface SBCDirectCall (SWIFT_EXTENSION(SendBirdCalls))
Expand Down Expand Up @@ -3931,7 +3946,6 @@ typedef SWIFT_ENUM_NAMED(NSInteger, SBCDirectCallUserRole, "UserRole", open) {




@class SBCVideoDevice;
@class UIImage;

Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ extension SendBirdCalls.SendBirdVideoView {
@objc optional func wasInvitationAccepted(_ invitation: SendBirdCalls.RoomInvitation)
@objc optional func wasInvitationDeclined(_ invitation: SendBirdCalls.RoomInvitation)
}
extension SendBirdCalls.DirectCall {
public func setConnectionQualityDelegate(_ delegate: SendBirdCalls.ConnectionQualityDelegate, monitoringMode: SendBirdCalls.ConnectionQualityMonitoringModes)
@objc dynamic public func removeConnectionQualityDelegate()
}
@_inheritsConvenienceInitializers @objcMembers @objc(SBCRoomParams) public class RoomParams : ObjectiveC.NSObject, Swift.Encodable {
@objc public var roomType: SendBirdCalls.RoomType
@objc public var customItems: [Swift.String : Swift.String]?
Expand Down Expand Up @@ -529,6 +533,32 @@ extension SendBirdCalls.User {
extension SendBirdCalls.User : Foundation.NSCopying {
@objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any
}
public enum ConnectionQuality {
case poor, fair, average, good, excellent
public static func == (a: SendBirdCalls.ConnectionQuality, b: SendBirdCalls.ConnectionQuality) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public enum ConnectionQualityMonitoringModes {
case frequency
case connectionQualityChange
public static func == (a: SendBirdCalls.ConnectionQualityMonitoringModes, b: SendBirdCalls.ConnectionQualityMonitoringModes) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
@_hasMissingDesignatedInitializers public class ConnectionMetrics {
public var connectionQuality: SendBirdCalls.ConnectionQuality {
get
}
@objc deinit
}
public protocol ConnectionQualityDelegate : AnyObject {
func didConnectionQualityUpdate(metrics: SendBirdCalls.ConnectionMetrics)
}
@objc(SBCSendBirdRecordingDelegate) public protocol SendBirdRecordingDelegate {
@objc func didSaveRecording(call: SendBirdCalls.DirectCall, recordingId: Swift.String, options: SendBirdCalls.RecordingOptions, outputURL: Foundation.URL)
@objc func didFailToSaveRecording(call: SendBirdCalls.DirectCall, recordingId: Swift.String, error: SendBirdCalls.SBCError)
Expand Down Expand Up @@ -886,6 +916,10 @@ extension SendBirdCalls.Participant.State : Swift.Equatable {}
extension SendBirdCalls.Participant.State : Swift.Hashable {}
extension SendBirdCalls.DirectCallLogListQuery.UserRoleFilter : Swift.Equatable {}
extension SendBirdCalls.DirectCallLogListQuery.UserRoleFilter : Swift.Hashable {}
extension SendBirdCalls.ConnectionQuality : Swift.Equatable {}
extension SendBirdCalls.ConnectionQuality : Swift.Hashable {}
extension SendBirdCalls.ConnectionQualityMonitoringModes : Swift.Equatable {}
extension SendBirdCalls.ConnectionQualityMonitoringModes : Swift.Hashable {}
extension SendBirdCalls.SBCError.ErrorCode : Swift.Equatable {}
extension SendBirdCalls.SBCError.ErrorCode : Swift.Hashable {}
extension SendBirdCalls.SoundType : Swift.Equatable {}
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ extension SendBirdCalls.SendBirdVideoView {
@objc optional func wasInvitationAccepted(_ invitation: SendBirdCalls.RoomInvitation)
@objc optional func wasInvitationDeclined(_ invitation: SendBirdCalls.RoomInvitation)
}
extension SendBirdCalls.DirectCall {
public func setConnectionQualityDelegate(_ delegate: SendBirdCalls.ConnectionQualityDelegate, monitoringMode: SendBirdCalls.ConnectionQualityMonitoringModes)
@objc dynamic public func removeConnectionQualityDelegate()
}
@_inheritsConvenienceInitializers @objcMembers @objc(SBCRoomParams) public class RoomParams : ObjectiveC.NSObject, Swift.Encodable {
@objc public var roomType: SendBirdCalls.RoomType
@objc public var customItems: [Swift.String : Swift.String]?
Expand Down Expand Up @@ -529,6 +533,32 @@ extension SendBirdCalls.User {
extension SendBirdCalls.User : Foundation.NSCopying {
@objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any
}
public enum ConnectionQuality {
case poor, fair, average, good, excellent
public static func == (a: SendBirdCalls.ConnectionQuality, b: SendBirdCalls.ConnectionQuality) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public enum ConnectionQualityMonitoringModes {
case frequency
case connectionQualityChange
public static func == (a: SendBirdCalls.ConnectionQualityMonitoringModes, b: SendBirdCalls.ConnectionQualityMonitoringModes) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
@_hasMissingDesignatedInitializers public class ConnectionMetrics {
public var connectionQuality: SendBirdCalls.ConnectionQuality {
get
}
@objc deinit
}
public protocol ConnectionQualityDelegate : AnyObject {
func didConnectionQualityUpdate(metrics: SendBirdCalls.ConnectionMetrics)
}
@objc(SBCSendBirdRecordingDelegate) public protocol SendBirdRecordingDelegate {
@objc func didSaveRecording(call: SendBirdCalls.DirectCall, recordingId: Swift.String, options: SendBirdCalls.RecordingOptions, outputURL: Foundation.URL)
@objc func didFailToSaveRecording(call: SendBirdCalls.DirectCall, recordingId: Swift.String, error: SendBirdCalls.SBCError)
Expand Down Expand Up @@ -886,6 +916,10 @@ extension SendBirdCalls.Participant.State : Swift.Equatable {}
extension SendBirdCalls.Participant.State : Swift.Hashable {}
extension SendBirdCalls.DirectCallLogListQuery.UserRoleFilter : Swift.Equatable {}
extension SendBirdCalls.DirectCallLogListQuery.UserRoleFilter : Swift.Hashable {}
extension SendBirdCalls.ConnectionQuality : Swift.Equatable {}
extension SendBirdCalls.ConnectionQuality : Swift.Hashable {}
extension SendBirdCalls.ConnectionQualityMonitoringModes : Swift.Equatable {}
extension SendBirdCalls.ConnectionQualityMonitoringModes : Swift.Hashable {}
extension SendBirdCalls.SBCError.ErrorCode : Swift.Equatable {}
extension SendBirdCalls.SBCError.ErrorCode : Swift.Hashable {}
extension SendBirdCalls.SoundType : Swift.Equatable {}
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.10.4</string>
<string>1.10.5</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,6 @@ typedef SWIFT_ENUM_NAMED(NSInteger, SBCDirectCallUserRole, "UserRole", open) {
@end



@class SBCError;

@interface SBCDirectCall (SWIFT_EXTENSION(SendBirdCalls))
Expand Down Expand Up @@ -669,6 +668,15 @@ typedef SWIFT_ENUM_NAMED(NSInteger, SBCDirectCallUserRole, "UserRole", open) {
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@end


@interface SBCDirectCall (SWIFT_EXTENSION(SendBirdCalls))
/// Removes the listener for connection quality and its monitoring modes.
/// since:
/// 1.10.5
- (void)removeConnectionQualityDelegate;
@end


@class SBCRecordingOptions;

@interface SBCDirectCall (SWIFT_EXTENSION(SendBirdCalls))
Expand Down Expand Up @@ -708,7 +716,6 @@ typedef SWIFT_ENUM_NAMED(NSInteger, SBCDirectCallUserRole, "UserRole", open) {




@class SBCVideoDevice;
@class UIImage;

Expand Down Expand Up @@ -3843,7 +3850,6 @@ typedef SWIFT_ENUM_NAMED(NSInteger, SBCDirectCallUserRole, "UserRole", open) {
@end



@class SBCError;

@interface SBCDirectCall (SWIFT_EXTENSION(SendBirdCalls))
Expand Down Expand Up @@ -3892,6 +3898,15 @@ typedef SWIFT_ENUM_NAMED(NSInteger, SBCDirectCallUserRole, "UserRole", open) {
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@end


@interface SBCDirectCall (SWIFT_EXTENSION(SendBirdCalls))
/// Removes the listener for connection quality and its monitoring modes.
/// since:
/// 1.10.5
- (void)removeConnectionQualityDelegate;
@end


@class SBCRecordingOptions;

@interface SBCDirectCall (SWIFT_EXTENSION(SendBirdCalls))
Expand Down Expand Up @@ -3931,7 +3946,6 @@ typedef SWIFT_ENUM_NAMED(NSInteger, SBCDirectCallUserRole, "UserRole", open) {




@class SBCVideoDevice;
@class UIImage;

Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ extension SendBirdCalls.SendBirdVideoView {
@objc optional func wasInvitationAccepted(_ invitation: SendBirdCalls.RoomInvitation)
@objc optional func wasInvitationDeclined(_ invitation: SendBirdCalls.RoomInvitation)
}
extension SendBirdCalls.DirectCall {
public func setConnectionQualityDelegate(_ delegate: SendBirdCalls.ConnectionQualityDelegate, monitoringMode: SendBirdCalls.ConnectionQualityMonitoringModes)
@objc dynamic public func removeConnectionQualityDelegate()
}
@_inheritsConvenienceInitializers @objcMembers @objc(SBCRoomParams) public class RoomParams : ObjectiveC.NSObject, Swift.Encodable {
@objc public var roomType: SendBirdCalls.RoomType
@objc public var customItems: [Swift.String : Swift.String]?
Expand Down Expand Up @@ -529,6 +533,32 @@ extension SendBirdCalls.User {
extension SendBirdCalls.User : Foundation.NSCopying {
@objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any
}
public enum ConnectionQuality {
case poor, fair, average, good, excellent
public static func == (a: SendBirdCalls.ConnectionQuality, b: SendBirdCalls.ConnectionQuality) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public enum ConnectionQualityMonitoringModes {
case frequency
case connectionQualityChange
public static func == (a: SendBirdCalls.ConnectionQualityMonitoringModes, b: SendBirdCalls.ConnectionQualityMonitoringModes) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
@_hasMissingDesignatedInitializers public class ConnectionMetrics {
public var connectionQuality: SendBirdCalls.ConnectionQuality {
get
}
@objc deinit
}
public protocol ConnectionQualityDelegate : AnyObject {
func didConnectionQualityUpdate(metrics: SendBirdCalls.ConnectionMetrics)
}
@objc(SBCSendBirdRecordingDelegate) public protocol SendBirdRecordingDelegate {
@objc func didSaveRecording(call: SendBirdCalls.DirectCall, recordingId: Swift.String, options: SendBirdCalls.RecordingOptions, outputURL: Foundation.URL)
@objc func didFailToSaveRecording(call: SendBirdCalls.DirectCall, recordingId: Swift.String, error: SendBirdCalls.SBCError)
Expand Down Expand Up @@ -886,6 +916,10 @@ extension SendBirdCalls.Participant.State : Swift.Equatable {}
extension SendBirdCalls.Participant.State : Swift.Hashable {}
extension SendBirdCalls.DirectCallLogListQuery.UserRoleFilter : Swift.Equatable {}
extension SendBirdCalls.DirectCallLogListQuery.UserRoleFilter : Swift.Hashable {}
extension SendBirdCalls.ConnectionQuality : Swift.Equatable {}
extension SendBirdCalls.ConnectionQuality : Swift.Hashable {}
extension SendBirdCalls.ConnectionQualityMonitoringModes : Swift.Equatable {}
extension SendBirdCalls.ConnectionQualityMonitoringModes : Swift.Hashable {}
extension SendBirdCalls.SBCError.ErrorCode : Swift.Equatable {}
extension SendBirdCalls.SBCError.ErrorCode : Swift.Hashable {}
extension SendBirdCalls.SoundType : Swift.Equatable {}
Expand Down
Binary file not shown.
Loading

0 comments on commit 69a70e0

Please sign in to comment.