Skip to content

Commit

Permalink
For 1.9.0, a feature to delete a room in Group call is released.
Browse files Browse the repository at this point in the history
Here is what's been updated:
*  Added `didDelete` in `RoomDelegate` which is invoked when the room has been deleted by the Platform API.
  • Loading branch information
intoxicated committed Dec 9, 2021
1 parent 7f03de4 commit 9a7c629
Show file tree
Hide file tree
Showing 40 changed files with 463 additions and 306 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

### 1.9.0 (Dec 9, 2021 UTC)
For 1.9.0, a new feature to delete a room in Group call is released.

Here is what's been updated:
* Added `didDelete()` in `RoomDelegate` which is invoked when the room has been deleted by the Platform API.

### 1.8.2 (Nov 19, 2021 UTC)
* Improved stability.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ For further details on the usage and installation of `CocoaPods` instructions,
2. Create a [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile) in the same directory `.xcodeproj` or `.xcworkspace` is.
3. List the desired dependencies in the [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile) as show below.
```bash
github "sendbird/sendbird-calls-ios" ~> 1.8.0
github "sendbird/sendbird-calls-ios" ~> 1.9.0
github "sendbird/sendbird-webrtc-ios" ~> 1.4.0
```
4. Run `carthage update --use-xcframeworks`.
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.8.2"
s.version = "1.9.0"
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
18 changes: 9 additions & 9 deletions SendBirdCalls.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,39 +5,39 @@
<key>AvailableLibraries</key>
<array>
<dict>
<key>BitcodeSymbolMapsPath</key>
<string>BCSymbolMaps</string>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>SendBirdCalls.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>i386</string>
<string>x86_64</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_i386_x86_64-simulator</string>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>SendBirdCalls.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
<string>armv7</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 @@ -1852,6 +1852,10 @@ SWIFT_PROTOCOL_NAMED("RoomDelegate")
/// </li>
/// </ul>
- (void)didReceiveError:(SBCError * _Nonnull)error participant:(SBCParticipant * _Nullable)participant;
/// Called when the room has been deleted
/// since:
/// [NEXT_VERSION]
- (void)didDelete;
- (void)didAudioDeviceChange:(SBCRoom * _Nonnull)room session:(AVAudioSession * _Nonnull)session previousRoute:(AVAudioSessionRouteDescription * _Nonnull)previousRoute reason:(AVAudioSessionRouteChangeReason)reason;
@end

Expand Down Expand Up @@ -2175,6 +2179,9 @@ typedef SWIFT_ENUM_NAMED(NSInteger, SBCErrorCode, "ErrorCode", open) {
/// 1.6.0
SBCErrorCodeEndpointToSendStreamAlreadyExists = 1400124,
/// since:
/// [NEXT_VERSION]
SBCErrorCodeRoomDeleted = 1400126,
/// since:
/// 1.6.0
SBCErrorCodeUnknownError = 500999,
};
Expand Down Expand Up @@ -4970,6 +4977,10 @@ SWIFT_PROTOCOL_NAMED("RoomDelegate")
/// </li>
/// </ul>
- (void)didReceiveError:(SBCError * _Nonnull)error participant:(SBCParticipant * _Nullable)participant;
/// Called when the room has been deleted
/// since:
/// [NEXT_VERSION]
- (void)didDelete;
- (void)didAudioDeviceChange:(SBCRoom * _Nonnull)room session:(AVAudioSession * _Nonnull)session previousRoute:(AVAudioSessionRouteDescription * _Nonnull)previousRoute reason:(AVAudioSessionRouteChangeReason)reason;
@end

Expand Down Expand Up @@ -5293,6 +5304,9 @@ typedef SWIFT_ENUM_NAMED(NSInteger, SBCErrorCode, "ErrorCode", open) {
/// 1.6.0
SBCErrorCodeEndpointToSendStreamAlreadyExists = 1400124,
/// since:
/// [NEXT_VERSION]
SBCErrorCodeRoomDeleted = 1400126,
/// since:
/// 1.6.0
SBCErrorCodeUnknownError = 500999,
};
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ extension SendBirdVideoView {
@objc optional func didCustomItemsUpdate(updatedKeys: [Swift.String])
@objc optional func didCustomItemsDelete(deletedKeys: [Swift.String])
@objc optional func didReceiveError(_ error: SendBirdCalls.SBCError, participant: SendBirdCalls.Participant?)
@objc optional func didDelete()
@objc optional func didAudioDeviceChange(_ room: SendBirdCalls.Room, session: AVFoundation.AVAudioSession, previousRoute: AVFoundation.AVAudioSessionRouteDescription, reason: AVFoundation.AVAudioSession.RouteChangeReason)
}
@_inheritsConvenienceInitializers @objcMembers @objc(SBCRoomParams) public class RoomParams : ObjectiveC.NSObject, Swift.Encodable {
Expand Down Expand Up @@ -596,6 +597,7 @@ extension User : Foundation.NSCopying {
case clientIdAlreadyExists = 1400122
case invalidRequest = 1400123
case endpointToSendStreamAlreadyExists = 1400124
case roomDeleted = 1400126
case unknownError = 500999
public var rawValue: Swift.Int {
get
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ extension SendBirdVideoView {
@objc optional func didCustomItemsUpdate(updatedKeys: [Swift.String])
@objc optional func didCustomItemsDelete(deletedKeys: [Swift.String])
@objc optional func didReceiveError(_ error: SendBirdCalls.SBCError, participant: SendBirdCalls.Participant?)
@objc optional func didDelete()
@objc optional func didAudioDeviceChange(_ room: SendBirdCalls.Room, session: AVFoundation.AVAudioSession, previousRoute: AVFoundation.AVAudioSessionRouteDescription, reason: AVFoundation.AVAudioSession.RouteChangeReason)
}
@_inheritsConvenienceInitializers @objcMembers @objc(SBCRoomParams) public class RoomParams : ObjectiveC.NSObject, Swift.Encodable {
Expand Down Expand Up @@ -594,6 +595,7 @@ extension User : Foundation.NSCopying {
case clientIdAlreadyExists = 1400122
case invalidRequest = 1400123
case endpointToSendStreamAlreadyExists = 1400124
case roomDeleted = 1400126
case unknownError = 500999
public var rawValue: Swift.Int {
get
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ extension SendBirdVideoView {
@objc optional func didCustomItemsUpdate(updatedKeys: [Swift.String])
@objc optional func didCustomItemsDelete(deletedKeys: [Swift.String])
@objc optional func didReceiveError(_ error: SendBirdCalls.SBCError, participant: SendBirdCalls.Participant?)
@objc optional func didDelete()
@objc optional func didAudioDeviceChange(_ room: SendBirdCalls.Room, session: AVFoundation.AVAudioSession, previousRoute: AVFoundation.AVAudioSessionRouteDescription, reason: AVFoundation.AVAudioSession.RouteChangeReason)
}
@_inheritsConvenienceInitializers @objcMembers @objc(SBCRoomParams) public class RoomParams : ObjectiveC.NSObject, Swift.Encodable {
Expand Down Expand Up @@ -594,6 +595,7 @@ extension User : Foundation.NSCopying {
case clientIdAlreadyExists = 1400122
case invalidRequest = 1400123
case endpointToSendStreamAlreadyExists = 1400124
case roomDeleted = 1400126
case unknownError = 500999
public var rawValue: Swift.Int {
get
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ extension SendBirdVideoView {
@objc optional func didCustomItemsUpdate(updatedKeys: [Swift.String])
@objc optional func didCustomItemsDelete(deletedKeys: [Swift.String])
@objc optional func didReceiveError(_ error: SendBirdCalls.SBCError, participant: SendBirdCalls.Participant?)
@objc optional func didDelete()
@objc optional func didAudioDeviceChange(_ room: SendBirdCalls.Room, session: AVFoundation.AVAudioSession, previousRoute: AVFoundation.AVAudioSessionRouteDescription, reason: AVFoundation.AVAudioSession.RouteChangeReason)
}
@_inheritsConvenienceInitializers @objcMembers @objc(SBCRoomParams) public class RoomParams : ObjectiveC.NSObject, Swift.Encodable {
Expand Down Expand Up @@ -596,6 +597,7 @@ extension User : Foundation.NSCopying {
case clientIdAlreadyExists = 1400122
case invalidRequest = 1400123
case endpointToSendStreamAlreadyExists = 1400124
case roomDeleted = 1400126
case unknownError = 500999
public var rawValue: Swift.Int {
get
Expand Down
Loading

0 comments on commit 9a7c629

Please sign in to comment.