11 Commits

Author SHA1 Message Date
liyuhua
54bcb13e86 音萌企业包2.1.5发版 2024-05-14 18:26:07 +08:00
liyuhua
5f9aa7edea 图标更换 2024-05-14 18:26:07 +08:00
liyuhua
b1e6c707b8 图标更换 2024-05-14 18:26:07 +08:00
liyuhua
1b5cbfad7d 更换图标 2024-05-14 18:26:07 +08:00
liyuhua
1d1c6014c5 图标更换 2024-05-14 18:26:07 +08:00
liyuhua
8c5a8f7118 图标更换 2024-05-14 18:26:07 +08:00
liyuhua
a7dd7eb7a2 图标更换 2024-05-14 18:26:06 +08:00
liyuhua
cb0e706f44 更换图标 2024-05-14 18:26:06 +08:00
liyuhua
b10c35556d 音萌企业包2.1.5发版 2024-05-14 18:25:14 +08:00
liyuhua
db7b798590 音萌企业包2.1.4发版 2024-04-19 11:17:19 +08:00
liyuhua
495613e2d7 音萌企业包2.1.4发版 2024-04-19 11:16:57 +08:00
10 changed files with 54 additions and 21 deletions

View File

@@ -11695,7 +11695,7 @@
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
); );
MARKETING_VERSION = 2.1.3; MARKETING_VERSION = 2.1.5;
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"$(inherited)", "$(inherited)",
"-ObjC", "-ObjC",
@@ -11950,7 +11950,7 @@
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
); );
MARKETING_VERSION = 2.1.3; MARKETING_VERSION = 2.1.5;
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"$(inherited)", "$(inherited)",
"-ObjC", "-ObjC",

View File

@@ -31,7 +31,7 @@
</Testables> </Testables>
</TestAction> </TestAction>
<LaunchAction <LaunchAction
buildConfiguration = "Release" buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0" launchStyle = "0"

View File

@@ -1,11 +0,0 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

@@ -35,7 +35,10 @@ typedef NS_ENUM(NSInteger, BackMusicPlayState) {
- ❌ 业务逻辑不要侵入 RctImpl 。 - ❌ 业务逻辑不要侵入 RctImpl 。
*/ */
@interface RtcManager : NSObject @interface RtcManager : NSObject
///因为跨房pk结束后会闭麦用这个限制不要关麦
@property(nonatomic,assign) BOOL isAnckorPk;
///因为最小化进房闭麦问题,用这个限制不要关麦
@property(nonatomic,assign) BOOL isMiniEnterk;
/** /**
* 是否静音(静别人) * 是否静音(静别人)
* YES🔇虽然你们麦位上在说话但是我就是不听。🙉 * YES🔇虽然你们麦位上在说话但是我就是不听。🙉

View File

@@ -25,7 +25,7 @@
// //
#define MAX_STARWORDS_LENGTH 300 #define MAX_STARWORDS_LENGTH 300
@interface XPRoomSendTextView () @interface XPRoomSendTextView ()<UITextFieldDelegate>
/// ///
@property (nonatomic,strong) UIStackView *stackView; @property (nonatomic,strong) UIStackView *stackView;
/// ///
@@ -195,7 +195,10 @@
self.sendButton.enabled = NO; self.sendButton.enabled = NO;
} }
} }
- (BOOL)textFieldShouldReturn:(UITextField *)textField{
[self.editTextFiled resignFirstResponder];
return YES;
}
#pragma mark - Public Method #pragma mark - Public Method
+ (instancetype)showTextView:(UIView *)view delegate:(id<RoomHostDelegate>)delegate atUid:(NSString *)uid atNick:(NSString *)nick { + (instancetype)showTextView:(UIView *)view delegate:(id<RoomHostDelegate>)delegate atUid:(NSString *)uid atNick:(NSString *)nick {
__block XPRoomSendTextView * textView; __block XPRoomSendTextView * textView;
@@ -263,8 +266,10 @@
NSAttributedString * attribute = [[NSAttributedString alloc] initWithString:@"请输入消息..." attributes:@{NSFontAttributeName : [UIFont systemFontOfSize:15], NSForegroundColorAttributeName : [ThemeColor secondTextColor]}]; NSAttributedString * attribute = [[NSAttributedString alloc] initWithString:@"请输入消息..." attributes:@{NSFontAttributeName : [UIFont systemFontOfSize:15], NSForegroundColorAttributeName : [ThemeColor secondTextColor]}];
_editTextFiled.attributedPlaceholder = attribute; _editTextFiled.attributedPlaceholder = attribute;
_editTextFiled.borderStyle = UITextBorderStyleNone; _editTextFiled.borderStyle = UITextBorderStyleNone;
_editTextFiled.returnKeyType = UIReturnKeyDone;
_editTextFiled.textColor = [ThemeColor alertTitleColor]; _editTextFiled.textColor = [ThemeColor alertTitleColor];
_editTextFiled.font = [UIFont systemFontOfSize:15]; _editTextFiled.font = [UIFont systemFontOfSize:15];
_editTextFiled.delegate = self;
[_editTextFiled setContentHuggingPriority:UILayoutPriorityDefaultLow forAxis:UILayoutConstraintAxisHorizontal]; [_editTextFiled setContentHuggingPriority:UILayoutPriorityDefaultLow forAxis:UILayoutConstraintAxisHorizontal];
} }

View File

@@ -36,6 +36,7 @@ NS_ASSUME_NONNULL_BEGIN
- (NSArray *)getRoomPKGroupTeamList; - (NSArray *)getRoomPKGroupTeamList;
///房间内PK是否正在进行 ///房间内PK是否正在进行
- (BOOL)isRoomPKPlaying; - (BOOL)isRoomPKPlaying;
-(BOOL)getIsMiniEnter;
@end @end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END

View File

@@ -74,6 +74,16 @@
if (self) { if (self) {
_hostDelegate = delegate; _hostDelegate = delegate;
_isMiniEnter = NO; _isMiniEnter = NO;
[RtcManager instance].isMiniEnterk = self.hostDelegate.getIsMiniEnter;
RoomInfoModel *roomInfo = self.hostDelegate.getRoomInfo;
if (roomInfo.roomModeType != RoomModeType_Open_AcrossRoomPK_mode ){
if ([RtcManager instance].isAnckorPk == NO){
if ([RtcManager instance].isMiniEnterk == NO){
[RtcManager instance].localMuted = YES;
}
}
}
NSInteger microCount = self.countOfMircoView; NSInteger microCount = self.countOfMircoView;
for (int i = 0; i < microCount; i++) { for (int i = 0; i < microCount; i++) {
UIView* microView = [self microViewForIndex:i]; UIView* microView = [self microViewForIndex:i];
@@ -590,8 +600,19 @@
sequence.userInfo = nil; sequence.userInfo = nil;
} }
} }
RoomInfoModel *roomInfo = self.hostDelegate.getRoomInfo;
if (changeType == 1) { // if (changeType == 2){
if (userInfo.uid == [AccountInfoStorage instance].getUid.integerValue && roomInfo.roomModeType == RoomModeType_Open_Blind){
if (roomInfo.roomModeType != RoomModeType_Open_AcrossRoomPK_mode){
if ([RtcManager instance].isAnckorPk == NO){
[RtcManager instance].localMuted = YES;
}
[RtcManager instance].isAnckorPk = NO;
}
}
}else if (changeType == 1) { //
MicroQueueModel *sequence = [self.micQueue objectForKey:position]; MicroQueueModel *sequence = [self.micQueue objectForKey:position];
sequence.userInfo = userInfo; sequence.userInfo = userInfo;
if (self.hostDelegate.getRoomInfo.showGiftValue && userInfo.uid == [AccountInfoStorage instance].getUid.integerValue) { if (self.hostDelegate.getRoomInfo.showGiftValue && userInfo.uid == [AccountInfoStorage instance].getUid.integerValue) {
@@ -617,7 +638,19 @@
} }
// //
if (sequence && sequence.userInfo.uid == [AccountInfoStorage instance].getUid.integerValue && userInfo.isNoProhibitMic == NO) { if (sequence && sequence.userInfo.uid == [AccountInfoStorage instance].getUid.integerValue && userInfo.isNoProhibitMic == NO) {
[RtcManager instance].localMuted = YES; if (roomInfo.roomModeType != RoomModeType_Open_Blind){
if (userInfo.isNoProhibitMic == NO){
if (roomInfo.roomModeType != RoomModeType_Open_AcrossRoomPK_mode){
if ([RtcManager instance].isMiniEnterk == NO){
[RtcManager instance].localMuted = YES;
}
}
}
}
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[RtcManager instance].isMiniEnterk = NO;
});
} }
} }
if(userInfo.isNoProhibitMic == YES){ if(userInfo.isNoProhibitMic == YES){

View File

@@ -1652,7 +1652,9 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出
self.anchorScrollView.contentOffset = CGPointMake(0, KScreenHeight); self.anchorScrollView.contentOffset = CGPointMake(0, KScreenHeight);
} }
} }
-(BOOL)getIsMiniEnter{
return self.isMiniEnter;
}
#pragma mark - XPRoomSettingInputViewDelegate #pragma mark - XPRoomSettingInputViewDelegate
/// ///
- (void)xPRoomSettingInputView:(XPRoomSettingInputView *)view didClickConfirm:(NSString *)text type:(RoomSettingInputType)type { - (void)xPRoomSettingInputView:(XPRoomSettingInputView *)view didClickConfirm:(NSString *)text type:(RoomSettingInputType)type {