|
@@ -333,7 +333,7 @@ static int clickPraiseBtnTimes = 0;
|
|
|
// Fallback on earlier versions
|
|
|
make.bottom.mas_equalTo(self.videoContainerView.mas_bottom).offset(-14);
|
|
|
}
|
|
|
- make.centerX.mas_equalTo(self.videoContainerView.mas_right).offset(-128);
|
|
|
+ make.centerX.mas_equalTo(self.videoContainerView.mas_right).offset(-84);
|
|
|
make.width.mas_equalTo(48);
|
|
|
make.height.mas_equalTo(56);
|
|
|
}];
|
|
@@ -391,7 +391,7 @@ static int clickPraiseBtnTimes = 0;
|
|
|
KSLiveChatroomWelcome *joinChatroomMessage = [[KSLiveChatroomWelcome alloc] init];
|
|
|
[joinChatroomMessage setMsgId:[RCIM sharedRCIM].currentUserInfo.userId];
|
|
|
MJWeakSelf;
|
|
|
- [self sendMessage:joinChatroomMessage displayMessage:YES callback:^(BOOL success) {
|
|
|
+ [self sendMessage:joinChatroomMessage displayMessage:NO callback:^(BOOL success) {
|
|
|
weakSelf.hasSendWelcomeMessage = YES;
|
|
|
NSString *contentString = [NSString stringWithFormat:@"%@ 进入直播间",UserDefault(NicknameKey)];;
|
|
|
[weakSelf showAnimationView:YES showMessag:contentString];
|
|
@@ -935,7 +935,7 @@ static int clickPraiseBtnTimes = 0;
|
|
|
[self connectHostWithStatus:NO];
|
|
|
}
|
|
|
self.micStatus = MICSTATUS_NOMAL;
|
|
|
- [self.seatContainer removeFromSuperview];
|
|
|
+ [self removeSeatContainer];
|
|
|
}
|
|
|
|
|
|
- (void)resetMicWaitToNomal {
|
|
@@ -1160,7 +1160,7 @@ static int clickPraiseBtnTimes = 0;
|
|
|
if (stream.mediaType == RTCMediaTypeVideo) {
|
|
|
streamId = stream.streamId;
|
|
|
if ([stream.userId isEqualToString:self.createrId]) {
|
|
|
- self.videoView.streamUserId = @"";
|
|
|
+ [self clearVideoViewSource];
|
|
|
self.isCreaterVideoEnable = NO;
|
|
|
// 主讲老师停止发布视频流
|
|
|
NSLog(@"----- 停止发布视频流");
|
|
@@ -1613,7 +1613,7 @@ static int clickPraiseBtnTimes = 0;
|
|
|
|
|
|
KSLiveChatroomLike *praiseSendMessage = [[KSLiveChatroomLike alloc] init];
|
|
|
praiseSendMessage.counts = clickPraiseBtnTimes;
|
|
|
- [weakSelf sendMessage:praiseSendMessage displayMessage:YES callback:^(BOOL success) {
|
|
|
+ [weakSelf sendMessage:praiseSendMessage displayMessage:NO callback:^(BOOL success) {
|
|
|
|
|
|
}];
|
|
|
clickPraiseBtnTimes = 0;
|