Skip to content

Commit c6cf612

Browse files
committed
v4.4.57220.1211
1 parent e57c817 commit c6cf612

File tree

53 files changed

+1181
-25
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1181
-25
lines changed

CHANGELOG.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,46 @@
11
# CHANGELOG
22

3+
## 2019-12-16 @ [v4.4.57220.1211](https://github.com/zoom/zoom-sdk-ios/releases/tag/v4.4.57220.1211)
4+
5+
## Added:
6+
* Add new interfaces for SDK initialization with JWT token.
7+
* `@property (nullable, retain, nonatomic) NSString *jwtToken`
8+
* Add new interfaces to access the virtual background.
9+
* The interfaces in `MobileRTCMeetingService+VirtualBackground.h`.
10+
* Add new interfaces and callbacks for minimizing/resuming meeting.
11+
* `- (BOOL)showMinimizeMeetingFromZoomUIMeeting;`
12+
* `- (BOOL)backZoomUIMeetingFromMinimizeMeeting;`
13+
* `- (void)onSinkMeetingShowMinimizeMeetingOrBackZoomUI:(MobileRTCMinimizeMeetingState)state;`
14+
* Add new interfaces for the Q&A feature in the webinar.
15+
* The interfaces in `MobileRTCMeetingService+Webinar.h`
16+
* Add a new interface to show/hide the "My Connected Time".
17+
* `- (BOOL)showMyMeetingElapseTime;`
18+
* `- (void)enableShowMyMeetingElapseTime:(BOOL)enable;`
19+
* Add a new interface for users to get the meeting password while in the meeting.
20+
* `- (NSString *_Nullable)getMeetingPassword;`
21+
* Add a callback to remind the user that free meeting will be ended in 10 minutes.
22+
* ` - (void)onFreeMeetingReminder:
23+
(BOOL)host
24+
canFreeUpgrade:(BOOL)freeUpgrade
25+
isFirstGift:(BOOL)first
26+
completion:(void (^_Nonnull)(BOOL upgrade))completion;`
27+
28+
## Changed & Fixed:
29+
* Fixed an issue that the attendee cannot get the chat privilege.
30+
* Fixed an issue that the meeting restarts for a few times after pressing the end meeting button.
31+
332
## 2019-11-04 @ [v4.4.56624.1028](https://github.com/zoom/zoom-sdk-ios/releases/tag/v4.4.56624.1028)
433

534
## Added:
635
* Add a new interface to hide the "Disconnect Audio" button
736
* Add a new interface for SDK initialization
837
* Add a new interface to hide the Q&A button and the POLL button
38+
* Add a new parameter in `presentMeetingChatViewController` to allow setting the chat as public or private
939

1040
## Changed & Fixed:
1141
* Updated all interfaces that involves `UIWebView` and removed `UIWebView` in SDK since Apple is deprecating `UIWebView`
1242
* Fixed an issue that the SDK will crash by chance when doing a screen share
13-
* Fixed an issue that the `presentMeetingChatViewController` is not reflecting the "disable private chat" setting in Custom UI
1443
* Fixed some compatibility issues with iOS 13
15-
* Fixed an issue that the `onSinkMeetingActiveVideo` is not called for the 3rd user onwards
1644
* Fixed an issue that the Xcode is warning for `nullable` or `nonnull` in SDK
1745
* Fixed an issue that the crash file was created when the app is being killed by the system
1846
* Fixed an issue that the UI freeze when sharing a photo in landscape mode

MobileRTCSample/MobileRTCSample.xcodeproj/project.pbxproj

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@
5353
D000E97D219BF1AC00FC9275 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = D000E96C219BF1AC00FC9275 /* [email protected] */; };
5454
D000E97E219BF1AC00FC9275 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = D000E96D219BF1AC00FC9275 /* [email protected] */; };
5555
D012776922C21BC000024227 /* WebViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D012776722C21BC000024227 /* WebViewController.m */; };
56+
D020DAF02371819900E9D748 /* QAListViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D020DAEC2371819700E9D748 /* QAListViewController.m */; };
57+
D020DAF12371819900E9D748 /* QAListTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = D020DAEE2371819800E9D748 /* QAListTableViewCell.m */; };
5658
D031005C21E301DC002CD293 /* Custom.strings in Resources */ = {isa = PBXBuildFile; fileRef = D031005E21E301DC002CD293 /* Custom.strings */; };
5759
D0400EA422CDC4D5008F7989 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = D0400E9F22CDC4D5008F7989 /* [email protected] */; };
5860
D0400EA522CDC4D5008F7989 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = D0400EA222CDC4D5008F7989 /* [email protected] */; };
@@ -296,6 +298,10 @@
296298
D000E96D219BF1AC00FC9275 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
297299
D012776422C21BC000024227 /* WebViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebViewController.h; sourceTree = "<group>"; };
298300
D012776722C21BC000024227 /* WebViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WebViewController.m; sourceTree = "<group>"; };
301+
D020DAEC2371819700E9D748 /* QAListViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = QAListViewController.m; sourceTree = "<group>"; };
302+
D020DAED2371819700E9D748 /* QAListViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QAListViewController.h; sourceTree = "<group>"; };
303+
D020DAEE2371819800E9D748 /* QAListTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = QAListTableViewCell.m; sourceTree = "<group>"; };
304+
D020DAEF2371819800E9D748 /* QAListTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QAListTableViewCell.h; sourceTree = "<group>"; };
299305
D031005D21E301DC002CD293 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Custom.strings; sourceTree = "<group>"; };
300306
D031005F21E301DF002CD293 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Custom.strings"; sourceTree = "<group>"; };
301307
D0400E9F22CDC4D5008F7989 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
@@ -720,6 +726,10 @@
720726
F70F8ACE20E4B4B400659FC4 /* CustomRemoteControl.m */,
721727
D99540B920CFC313007AA8B2 /* AnnoFloatBarView.h */,
722728
D99540BA20CFC313007AA8B2 /* AnnoFloatBarView.m */,
729+
D020DAEF2371819800E9D748 /* QAListTableViewCell.h */,
730+
D020DAEE2371819800E9D748 /* QAListTableViewCell.m */,
731+
D020DAED2371819700E9D748 /* QAListViewController.h */,
732+
D020DAEC2371819700E9D748 /* QAListViewController.m */,
723733
);
724734
path = CustomMeeting;
725735
sourceTree = "<group>";
@@ -1226,6 +1236,7 @@
12261236
D057546921B7F53800FD95DA /* SDKStartJoinMeetingPresenter+VideoServiceDelegate.m in Sources */,
12271237
D0ECCE5521CA52D000CFC386 /* SDKAuthPresenter+PremeetingDelegate.m in Sources */,
12281238
D05BBB5421A2C8C900CD4A56 /* SDKStartJoinMeetingPresenter+RestApiWithoutLoginUser.m in Sources */,
1239+
D020DAF02371819900E9D748 /* QAListViewController.m in Sources */,
12291240
D05BBB3921A2B33000CD4A56 /* SDKInitPresenter.m in Sources */,
12301241
F75FDB761D6C370B004DC2FA /* LanguaguePickerViewController.m in Sources */,
12311242
D993152C1F553C6C005972DC /* ScheduleTableViewController.m in Sources */,
@@ -1244,6 +1255,7 @@
12441255
D0BAD47621A4EFE0004AE4B1 /* SDKAuthPresenter+AuthDelegate.m in Sources */,
12451256
917D169A22D4AEF900895DFF /* SSZipArchive.m in Sources */,
12461257
C123335618D6D87B00894EED /* UIImage+Additions.m in Sources */,
1258+
D020DAF12371819900E9D748 /* QAListTableViewCell.m in Sources */,
12471259
D0ABEA5821A54AB900353F5D /* SDKActionPresenter.m in Sources */,
12481260
D000E93D219BF0B500FC9275 /* CustomMeetingViewController+MeetingDelegate.m in Sources */,
12491261
917D169622D4AEF900895DFF /* unzip.c in Sources */,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>SchemeUserState</key>
6+
<dict>
7+
<key>MobileRTCSample.xcscheme_^#shared#^_</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
<key>MobileRTCSampleScreenShare.xcscheme_^#shared#^_</key>
13+
<dict>
14+
<key>orderHint</key>
15+
<integer>1</integer>
16+
</dict>
17+
</dict>
18+
</dict>
19+
</plist>

MobileRTCSample/MobileRTCSample/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
3434
[[[SDKInitPresenter alloc] init] SDKInit:navVC];
3535

3636
//4. MobileRTC Authorize
37-
[[[SDKAuthPresenter alloc] init] SDKAuth];
37+
[[[SDKAuthPresenter alloc] init] SDKAuth:kSDKKey clientSecret:kSDKSecret];
3838

3939
return YES;
4040
}

MobileRTCSample/MobileRTCSample/CustomMeeting/BottomPanelView.m

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#import "SDKVideoPresenter.h"
1212
#import "SDKSharePresenter.h"
1313
#import "SDKActionPresenter.h"
14+
#import "QAListViewController.h"
1415

1516
@interface BottomPanelView ()
1617
@property (strong, nonatomic) CAGradientLayer *gradientLayer;
@@ -264,6 +265,18 @@ - (void)onBarButtonClicked:(UIButton *)sender
264265
UIAlertController *alertController = [UIAlertController alertControllerWithTitle:nil
265266
message:nil
266267
preferredStyle:UIAlertControllerStyleActionSheet];
268+
if ([[[MobileRTC sharedRTC] getMeetingService] isQAEnabled]) {
269+
[alertController addAction:[UIAlertAction actionWithTitle:@"QA"
270+
style:UIAlertActionStyleDefault
271+
handler:^(UIAlertAction *action) {
272+
AppDelegate *appDelegate = (AppDelegate *)[UIApplication sharedApplication].delegate;
273+
274+
QAListViewController *VC = [[QAListViewController alloc] init];
275+
UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:VC];
276+
nav.modalPresentationStyle = UIModalPresentationFullScreen;
277+
[[appDelegate topViewController] presentViewController:nav animated:YES completion:NULL];
278+
}]];
279+
}
267280

268281

269282
[alertController addAction:[UIAlertAction actionWithTitle:@"Switch My Audio"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//
2+
// QAListTableViewCell.h
3+
// MobileRTCSample
4+
//
5+
// Created by Zoom Video Communications on 2019/10/28.
6+
// Copyright © 2019 Zoom Video Communications, Inc. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
12+
@interface QAListTableViewCell : UITableViewCell
13+
@property (nonatomic, strong) UILabel *contentLabel;
14+
@end
15+
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
//
2+
// QAListTableViewCell.m
3+
// MobileRTCSample
4+
//
5+
// Created by Zoom Video Communications on 2019/10/28.
6+
// Copyright © 2019 Zoom Video Communications, Inc. All rights reserved.
7+
//
8+
9+
#import "QAListTableViewCell.h"
10+
11+
@implementation QAListTableViewCell
12+
13+
- (void)awakeFromNib {
14+
[super awakeFromNib];
15+
// Initialization code
16+
}
17+
18+
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
19+
[super setSelected:selected animated:animated];
20+
21+
// Configure the view for the selected state
22+
}
23+
24+
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
25+
{
26+
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
27+
if (self) {
28+
// Initialization code
29+
self.contentView.backgroundColor = [UIColor whiteColor];
30+
31+
_contentLabel = [[UILabel alloc] initWithFrame:CGRectMake(15, 0, SCREEN_WIDTH-30, 230)];
32+
_contentLabel.textAlignment = 0;
33+
_contentLabel.text = @"";
34+
_contentLabel.font = [UIFont systemFontOfSize:12.0];
35+
_contentLabel.numberOfLines = 0;
36+
_contentLabel.textColor = RGBCOLOR(0x23, 0x23, 0x33);
37+
[self.contentView addSubview:_contentLabel];
38+
39+
}
40+
return self;
41+
}
42+
43+
@end
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
//
2+
// QAListViewController.h
3+
// MobileRTCSample
4+
//
5+
// Created by Zoom Video Communications on 2019/10/28.
6+
// Copyright © 2019 Zoom Video Communications, Inc. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
@interface QAListViewController : UIViewController
12+
13+
@end
14+

0 commit comments

Comments
 (0)