Commit 424e9bed by ludi

Merge branch 'feature/v57版本pk迁移' of http://git.yabolive.net:88/pidan/FuSiLive…

Merge branch 'feature/v57版本pk迁移' of http://git.yabolive.net:88/pidan/FuSiLive into feature/v57版本pk迁移
parents c0dd206d 80fa2f6d
......@@ -1434,6 +1434,15 @@ static NSString *const KLiveDataCenter_store_liveRTCData = @"LiveDataCenter_stor
if (pkInfo.integerValue == 1) { //在pk中
// 审核下不显示PK
if(FUSConfig.sharedInstanced.devConfigs.appStatus) return;
// 更新画中画尺寸:如果是 byteRTC PK,使用 16:18,否则使用 16:9
if (weakSelf.rtcType.integerValue == 2) {
[weakSelf.liveVC setPictureInPictureVideoFrame:CGRectMake(0, 0, UIView.fus_screenW, UIView.fus_screenW * 16 / 18)];
} else {
[weakSelf.liveVC setPictureInPictureVideoFrame:CGRectMake(0, 0, UIView.fus_screenW, UIView.fus_screenW * 16 / 9)];
}
[FUSSwiftLiveHelper.shared.pkHelper getRoomPKInfoWithRoomId:FUSSwiftLiveHelper.shared.roomInfoModel.roomId reconnect:0];
// [FUSLiveHttpHelper fus_getRoomPKInfoWithRoomId:[FUSLiveHelper shareInstance].roomInfoModel.roomId success:^(NSString *status, NSString *remainTime, NSString *winner, NSString *content,NSString *isLikePk,NSArray<FUSPKRoomPKInfoModel *> *userlistArray,NSString *matchId) {
//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment