Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b8b83ba38a | ||
![]() |
41491e2c27 | ||
![]() |
8355d97ce4 | ||
![]() |
7f35e00be2 | ||
![]() |
92c25e2df7 | ||
![]() |
3c5007c40d | ||
![]() |
ba6af6c09d |
@@ -11695,7 +11695,7 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 2.1.5;
|
||||
MARKETING_VERSION = 2.1.3;
|
||||
OTHER_LDFLAGS = (
|
||||
"$(inherited)",
|
||||
"-ObjC",
|
||||
@@ -11950,7 +11950,7 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 2.1.5;
|
||||
MARKETING_VERSION = 2.1.3;
|
||||
OTHER_LDFLAGS = (
|
||||
"$(inherited)",
|
||||
"-ObjC",
|
||||
|
@@ -31,7 +31,7 @@
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug"
|
||||
buildConfiguration = "Release"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
|
11
xplan-ios/Assets.xcassets/AccentColor.colorset/Contents.json
Normal file
11
xplan-ios/Assets.xcassets/AccentColor.colorset/Contents.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"colors" : [
|
||||
{
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 6.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 10 KiB |
@@ -35,10 +35,7 @@ typedef NS_ENUM(NSInteger, BackMusicPlayState) {
|
||||
- ❌ 业务逻辑不要侵入 RctImpl 。
|
||||
*/
|
||||
@interface RtcManager : NSObject
|
||||
///因为跨房pk结束后会闭麦,用这个限制不要关麦
|
||||
@property(nonatomic,assign) BOOL isAnckorPk;
|
||||
///因为最小化进房闭麦问题,用这个限制不要关麦
|
||||
@property(nonatomic,assign) BOOL isMiniEnterk;
|
||||
|
||||
/**
|
||||
* 是否静音(静别人)
|
||||
* YES:🔇虽然你们麦位上在说话,但是我就是不听。🙉
|
||||
|
@@ -25,7 +25,7 @@
|
||||
//公屏限制最大字数
|
||||
#define MAX_STARWORDS_LENGTH 300
|
||||
|
||||
@interface XPRoomSendTextView ()<UITextFieldDelegate>
|
||||
@interface XPRoomSendTextView ()
|
||||
///
|
||||
@property (nonatomic,strong) UIStackView *stackView;
|
||||
///输入框
|
||||
@@ -195,10 +195,7 @@
|
||||
self.sendButton.enabled = NO;
|
||||
}
|
||||
}
|
||||
- (BOOL)textFieldShouldReturn:(UITextField *)textField{
|
||||
[self.editTextFiled resignFirstResponder];
|
||||
return YES;
|
||||
}
|
||||
|
||||
#pragma mark - Public Method
|
||||
+ (instancetype)showTextView:(UIView *)view delegate:(id<RoomHostDelegate>)delegate atUid:(NSString *)uid atNick:(NSString *)nick {
|
||||
__block XPRoomSendTextView * textView;
|
||||
@@ -266,10 +263,8 @@
|
||||
NSAttributedString * attribute = [[NSAttributedString alloc] initWithString:@"请输入消息..." attributes:@{NSFontAttributeName : [UIFont systemFontOfSize:15], NSForegroundColorAttributeName : [ThemeColor secondTextColor]}];
|
||||
_editTextFiled.attributedPlaceholder = attribute;
|
||||
_editTextFiled.borderStyle = UITextBorderStyleNone;
|
||||
_editTextFiled.returnKeyType = UIReturnKeyDone;
|
||||
_editTextFiled.textColor = [ThemeColor alertTitleColor];
|
||||
_editTextFiled.font = [UIFont systemFontOfSize:15];
|
||||
_editTextFiled.delegate = self;
|
||||
[_editTextFiled setContentHuggingPriority:UILayoutPriorityDefaultLow forAxis:UILayoutConstraintAxisHorizontal];
|
||||
|
||||
}
|
||||
|
@@ -36,7 +36,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
- (NSArray *)getRoomPKGroupTeamList;
|
||||
///房间内PK是否正在进行
|
||||
- (BOOL)isRoomPKPlaying;
|
||||
-(BOOL)getIsMiniEnter;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
@@ -74,16 +74,6 @@
|
||||
if (self) {
|
||||
_hostDelegate = delegate;
|
||||
_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;
|
||||
for (int i = 0; i < microCount; i++) {
|
||||
UIView* microView = [self microViewForIndex:i];
|
||||
@@ -600,19 +590,8 @@
|
||||
sequence.userInfo = nil;
|
||||
}
|
||||
}
|
||||
RoomInfoModel *roomInfo = self.hostDelegate.getRoomInfo;
|
||||
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) { // 上麦
|
||||
if (changeType == 1) { // 上麦
|
||||
MicroQueueModel *sequence = [self.micQueue objectForKey:position];
|
||||
sequence.userInfo = userInfo;
|
||||
if (self.hostDelegate.getRoomInfo.showGiftValue && userInfo.uid == [AccountInfoStorage instance].getUid.integerValue) {
|
||||
@@ -638,19 +617,7 @@
|
||||
}
|
||||
//如果是当前用户上麦,关闭自己的麦克风
|
||||
if (sequence && sequence.userInfo.uid == [AccountInfoStorage instance].getUid.integerValue && userInfo.isNoProhibitMic == NO) {
|
||||
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;
|
||||
});
|
||||
[RtcManager instance].localMuted = YES;
|
||||
}
|
||||
}
|
||||
if(userInfo.isNoProhibitMic == YES){
|
||||
|
@@ -1652,9 +1652,7 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出
|
||||
self.anchorScrollView.contentOffset = CGPointMake(0, KScreenHeight);
|
||||
}
|
||||
}
|
||||
-(BOOL)getIsMiniEnter{
|
||||
return self.isMiniEnter;
|
||||
}
|
||||
|
||||
#pragma mark - XPRoomSettingInputViewDelegate
|
||||
///点击了完成
|
||||
- (void)xPRoomSettingInputView:(XPRoomSettingInputView *)view didClickConfirm:(NSString *)text type:(RoomSettingInputType)type {
|
||||
|
Reference in New Issue
Block a user