Skip to content

Commit 43a9af5

Browse files
author
jeffgaogao
committed
fix(TcgSdkDemo): Fix the issue of low uplink video stream bitrate in the TCRDemo
1 parent f6e5e46 commit 43a9af5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Demo/TCRDemo/TCGDemo/TCGDemoGamePlayVC.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,8 +605,8 @@ - (void)onEvent:(TcrEvent)event eventData:(id)eventData {
605605
if ([status isEqualToString:@"close"]) {
606606
[self onEnableLocalVideo:false];
607607
} else {
608-
[self.session setLocalVideoProfile:720 height:1280 fps:30 minBitrate:1000 maxBitrate:15000 isFrontCamera:[status isEqualToString:@"open_front"] ? YES : NO];
609608
[self onEnableLocalVideo:true];
609+
[self.session setLocalVideoProfile:720 height:1280 fps:20 minBitrate:1000 maxBitrate:15000 isFrontCamera:[status isEqualToString:@"open_front"] ? YES : NO];
610610
}
611611
break;
612612
}

0 commit comments

Comments
 (0)