Skip to content

Commit

Permalink
Merge pull request #16 from 100mslive/0.2.1Release
Browse files Browse the repository at this point in the history
  • Loading branch information
ygit authored Nov 18, 2021
2 parents ebb6dab + 65b3991 commit 99317b1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Example/HMSSDKExample/Meeting/HMSSDKInteractor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ final class HMSSDKInteractor: HMSUpdateListener {
}

func on(roleChangeRequest: HMSRoleChangeRequest) {
print(#function, roleChangeRequest.requestedBy.name, roleChangeRequest.suggestedRole.name)
print(#function, roleChangeRequest.requestedBy?.name ?? "100ms app", roleChangeRequest.suggestedRole.name)
onRoleChange?(roleChangeRequest)
}

Expand Down
4 changes: 2 additions & 2 deletions Example/HMSSDKExample/Meeting/MeetingViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ final class MeetingViewController: UIViewController {
guard !request.mute else { return }

dismiss(animated: true) { [weak self] in
let title = "\(request.requestedBy.name) is asking you to unmute \(request.track.kind == .video ? "video" : "audio")"
let title = "\(request.requestedBy?.name ?? "100ms app") is asking you to unmute \(request.track.kind == .video ? "video" : "audio")"

let alertController = UIAlertController(title: title,
message: nil,
Expand All @@ -547,7 +547,7 @@ final class MeetingViewController: UIViewController {
}

private func handle(removedFromRoom notification: HMSRemovedFromRoomNotification) {
let title = "\(notification.requestedBy.name) removed you from this room: \(notification.reason)"
let title = "\(notification.requestedBy?.name ?? "100ms app") removed you from this room: \(notification.reason)"

let alertController = UIAlertController(title: title,
message: nil,
Expand Down
6 changes: 3 additions & 3 deletions HMSSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'HMSSDK'
s.version = '0.1.6'
s.version = '0.2.1'
s.summary = 'HMS Videoconferencing iOS SDK'

s.description = <<-DESC
Expand All @@ -10,8 +10,8 @@ TODO: Add long description of the pod here.
s.homepage = 'https://github.com/100mslive/100ms-ios-sdk/'
s.license = { :type => 'MIT'}
s.author = { 'Dmitry Fedoseyev' => '[email protected]', 'Yogesh Singh' => '[email protected]' }
s.source = { :http => 'https://github.com/100mslive/100ms-ios-sdk/releases/download/0.1.6/HMSSDK.xcframework.zip',
:sha256 => 'ca35764d624abf8a14b3d964c2caad481a1e45cab3e2415ffa41e1ffdb4053ee'
s.source = { :http => 'https://github.com/100mslive/100ms-ios-sdk/releases/download/0.2.1/HMSSDK.xcframework.zip',
:sha256 => '0dbc21c751d77f7b10086b0ed6df97d6637e3dcc6d9e41bdd117e305a34550a3'
}
s.ios.deployment_target = '10.0'
s.vendored_frameworks = 'HMSSDK.xcframework'
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ let package = Package(
targets: [
.binaryTarget(
name: "HMSSDK",
url: "https://github.com/100mslive/100ms-ios-sdk/releases/download/0.1.6/HMSSDK.xcframework.zip",
checksum: "ca35764d624abf8a14b3d964c2caad481a1e45cab3e2415ffa41e1ffdb4053ee"
url: "https://github.com/100mslive/100ms-ios-sdk/releases/download/0.2.1/HMSSDK.xcframework.zip",
checksum: "0dbc21c751d77f7b10086b0ed6df97d6637e3dcc6d9e41bdd117e305a34550a3"
),
.binaryTarget(
name: "WebRTC",
Expand Down

0 comments on commit 99317b1

Please sign in to comment.