Skip to content

Commit 2320f01

Browse files
author
ccharlesren
committed
demo清晰度切换文案修改
Change-Id: I1f42dc374cf3539ffaae977b1f4905a896df680c
1 parent 30a88d5 commit 2320f01

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Source/LinkSDKDemo/Video/P2P/Controller/TIoTDemoPreviewDeviceVC.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ - (void)changeVideoDefinitaion {
626626
//竖屏
627627
__weak typeof(self) weakSelf = self;
628628
TIoTDemoCustomSheetView *definitaionSheet = [[TIoTDemoCustomSheetView alloc]init];
629-
NSArray *actionTitleArray = @[@"超清 720P",@"高清 480P",@"标清 270P",@"取消"];
629+
NSArray *actionTitleArray = @[@"超清 1080P",@"高清 720P",@"标清 360P",@"取消"];
630630
ChooseFunctionBlock superDefinitaionBlock = ^(TIoTDemoCustomSheetView *view){
631631
self.qualityString = quality_super;
632632
[self resetVideoPlayerWithQuality:self.qualityString];
@@ -1194,7 +1194,7 @@ - (UIView *)landscapeChangeDefinition {
11941194
make.height.mas_equalTo(kBtnHeight);
11951195
}];
11961196
UILabel *standardDefValue = [[UILabel alloc]init];
1197-
[standardDefValue setLabelFormateTitle:@"270P" font:[UIFont wcPfRegularFontOfSize:14] titleColorHexString:@"#ffffff" textAlignment:NSTextAlignmentCenter];
1197+
[standardDefValue setLabelFormateTitle:@"360P" font:[UIFont wcPfRegularFontOfSize:14] titleColorHexString:@"#ffffff" textAlignment:NSTextAlignmentCenter];
11981198
[self.standardDef addSubview:standardDefValue];
11991199
[standardDefValue mas_makeConstraints:^(MASConstraintMaker *make) {
12001200
make.bottom.equalTo(self.standardDef.mas_centerY);
@@ -1219,7 +1219,7 @@ - (UIView *)landscapeChangeDefinition {
12191219
make.bottom.equalTo(self.standardDef.mas_bottom);
12201220
}];
12211221
UILabel *highDefValue = [[UILabel alloc]init];
1222-
[highDefValue setLabelFormateTitle:@"480P" font:[UIFont wcPfRegularFontOfSize:14] titleColorHexString:@"#ffffff" textAlignment:NSTextAlignmentCenter];
1222+
[highDefValue setLabelFormateTitle:@"720P" font:[UIFont wcPfRegularFontOfSize:14] titleColorHexString:@"#ffffff" textAlignment:NSTextAlignmentCenter];
12231223
[self.highDef addSubview:highDefValue];
12241224
[highDefValue mas_makeConstraints:^(MASConstraintMaker *make) {
12251225
make.bottom.equalTo(self.highDef.mas_centerY);
@@ -1245,7 +1245,7 @@ - (UIView *)landscapeChangeDefinition {
12451245
make.left.equalTo(self.highDef.mas_right).offset(20);
12461246
}];
12471247
UILabel *supperDefValue = [[UILabel alloc]init];
1248-
[supperDefValue setLabelFormateTitle:@"720P" font:[UIFont wcPfRegularFontOfSize:14] titleColorHexString:@"#ffffff" textAlignment:NSTextAlignmentCenter];
1248+
[supperDefValue setLabelFormateTitle:@"1080P" font:[UIFont wcPfRegularFontOfSize:14] titleColorHexString:@"#ffffff" textAlignment:NSTextAlignmentCenter];
12491249
[self.supperDef addSubview:supperDefValue];
12501250
[supperDefValue mas_makeConstraints:^(MASConstraintMaker *make) {
12511251
make.bottom.equalTo(self.supperDef.mas_centerY);

0 commit comments

Comments
 (0)