Skip to content

Commit 0984347

Browse files
author
HeZhengQing
committed
[FIX] NMS-24996
1 parent 3e9d278 commit 0984347

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

iOS/APIExample-OC/APIExample-OC/Examples/Advanced/StreamEncryption/StreamEncryption.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ - (void)viewDidLoad {
116116
NSString *channelName = [self.configs objectForKey:@"channelName"];
117117
NSString *secret = [self.configs objectForKey:@"secret"];
118118
AgoraEncryptionMode mode = ((NSNumber *)[self.configs objectForKey:@"mode"]).integerValue;
119-
BOOL useCustom = ((NSNumber *)[self.configs objectForKey:@"useCustom"]).boolValue;
119+
BOOL useCustom = ((NSNumber *)[self.configs objectForKey:@"userCustom"]).boolValue;
120120
// make myself a broadcaster
121121
[self.agoraKit setClientRole:(AgoraClientRoleBroadcaster)];
122122
// enable video module and set up video encoding configs

0 commit comments

Comments
 (0)