Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
pidan
/
FuSiLive
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b0a199bf
authored
Mar 07, 2026
by
suolong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复直播间麦克风问题
parent
bef7c671
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
29 additions
and
15 deletions
DevelopmentPods/FUSCommon/FUSCommon/FUSRouter/Routers/LiveRouter/FUSLivePublicDefine.h
DevelopmentPods/FUSCommon/FUSCommon/FUSRouter/Routers/LiveRouter/FUSLivePublicDefine.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Controller/FUSLiveMainViewController.h
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Controller/FUSLiveMainViewController.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Other/FUSLiveHelper.h
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Other/FUSSwiftLiveHelper.swift
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/ChatInputView/FUSBottomOptionalView.m
DevelopmentPods/FUSCommon/FUSCommon/FUSRouter/Routers/LiveRouter/FUSLivePublicDefine.h
View file @
b0a199bf
...
@@ -260,6 +260,9 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -260,6 +260,9 @@ NS_ASSUME_NONNULL_BEGIN
/// liveroom将要显示,用来通知一些地方需要刷新
/// liveroom将要显示,用来通知一些地方需要刷新
+
(
NSString
*
)
fus_liveRoomViewWillAppear
;
+
(
NSString
*
)
fus_liveRoomViewWillAppear
;
/// liveroom已经显示,用来通知一些地方需要刷新
+
(
NSString
*
)
fus_liveRoomViewDidAppear
;
@end
@end
...
...
DevelopmentPods/FUSCommon/FUSCommon/FUSRouter/Routers/LiveRouter/FUSLivePublicDefine.m
View file @
b0a199bf
...
@@ -425,6 +425,12 @@
...
@@ -425,6 +425,12 @@
return
@"fus_liveRoomViewWillAppear"
;
return
@"fus_liveRoomViewWillAppear"
;
}
}
/// liveroom已经显示,用来通知一些地方需要刷新
+
(
NSString
*
)
fus_liveRoomViewDidAppear
{
return
@"fus_liveRoomViewDidAppear"
;
}
@end
@end
@implementation
FUSLiveEventTrackParams
@implementation
FUSLiveEventTrackParams
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Controller/FUSLiveMainViewController.h
View file @
b0a199bf
...
@@ -50,18 +50,14 @@ typedef enum : NSUInteger {
...
@@ -50,18 +50,14 @@ typedef enum : NSUInteger {
当前主播背景图片 ImageView
当前主播背景图片 ImageView
*/
*/
@property
(
nonatomic
,
strong
)
FUSBlurImageView
*
backgroundImageView
;
@property
(
nonatomic
,
strong
)
FUSBlurImageView
*
backgroundImageView
;
// 切换直播间滚动计数,如果 = 0。则可滚动,> 0则不可滚动
@property
(
nonatomic
,
assign
)
NSInteger
scrollEnableCount
;
/**
/**
初始化推流
初始化推流
*/
*/
-
(
void
)
initPushPrepareView
;
-
(
void
)
initPushPrepareView
;
/**
/**
初始化视讯推流
*/
//- (void)initPrivatePushPrepareView;
/**
设置是否可以上下滑动切换包房
设置是否可以上下滑动切换包房
*/
*/
-
(
void
)
fus_setupScrollEnable
:(
BOOL
)
enable
;
-
(
void
)
fus_setupScrollEnable
:(
BOOL
)
enable
;
...
@@ -130,6 +126,11 @@ typedef enum : NSUInteger {
...
@@ -130,6 +126,11 @@ typedef enum : NSUInteger {
*/
*/
-
(
void
)
fus_showLiveThemeView
;
-
(
void
)
fus_showLiveThemeView
;
/// 显示快捷发言的view
-
(
void
)
fus_showQuickChatEditView
;
/// 显示关注问候view
-
(
void
)
fus_showFollowSalutationView
;
/**
/**
弹出推流质量的View
弹出推流质量的View
*/
*/
...
@@ -178,7 +179,7 @@ typedef enum : NSUInteger {
...
@@ -178,7 +179,7 @@ typedef enum : NSUInteger {
-
(
NSString
*
)
fus_getLiveBitrate
;
-
(
NSString
*
)
fus_getLiveBitrate
;
-
(
void
)
fus_showPasswordBlurView
;
-
(
void
)
fus_showPasswordBlurView
;
//
-
(
void
)
fus_hidePasswordBlurView
;
-
(
void
)
fus_hidePasswordBlurView
;
@end
@end
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Controller/FUSLiveMainViewController.m
View file @
b0a199bf
This diff is collapsed.
Click to expand it.
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Other/FUSLiveHelper.h
View file @
b0a199bf
...
@@ -21,7 +21,8 @@
...
@@ -21,7 +21,8 @@
@class
FUSLiveRTCData
;
@class
FUSLiveRTCData
;
typedef
enum
:
NSInteger
{
typedef
enum
:
NSInteger
{
defaultRoom
=
0
defaultRoom
=
0
,
OBSRoom
=
1
}
RoomType
;
}
RoomType
;
typedef
NS_ENUM
(
NSInteger
,
FUSLiveJoinType
)
{
typedef
NS_ENUM
(
NSInteger
,
FUSLiveJoinType
)
{
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Other/FUSSwiftLiveHelper.swift
View file @
b0a199bf
...
@@ -427,17 +427,17 @@ import RxSwift
...
@@ -427,17 +427,17 @@ import RxSwift
}
}
/// 镜像摄像头
/// 镜像摄像头
@objc
public
static
func
f
f
liveMirrorCamera
()
{
@objc
public
static
func
f
us_
liveMirrorCamera
()
{
FUSLiveHelper
.
fus_liveMirrorCamera
()
FUSLiveHelper
.
fus_liveMirrorCamera
()
}
}
/// 镜像摄像头
/// 镜像摄像头
@objc
public
static
func
f
f
livePushSwitchMute
()
{
@objc
public
static
func
f
us_
livePushSwitchMute
()
{
FUSLiveHelper
.
fus_livePushSwitchMute
()
FUSLiveHelper
.
fus_livePushSwitchMute
()
}
}
/// 获取当前静音状态
/// 获取当前静音状态
@objc
public
static
func
f
f
livePushMuteState
()
->
Bool
{
@objc
public
static
func
f
us_
livePushMuteState
()
->
Bool
{
FUSLiveHelper
.
fus_livePushMuteState
()
FUSLiveHelper
.
fus_livePushMuteState
()
}
}
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/ChatInputView/FUSBottomOptionalView.m
View file @
b0a199bf
...
@@ -78,7 +78,8 @@
...
@@ -78,7 +78,8 @@
NSString
*
muteImgStr
=
isMute
?
@"live_setting_open_mic"
:
@"live_setting_close_mic"
;
NSString
*
muteImgStr
=
isMute
?
@"live_setting_open_mic"
:
@"live_setting_close_mic"
;
[
self
showOptionalViewWithTitleArray
:@[
muteStr
]
[
self
showOptionalViewWithTitleArray
:@[
muteStr
]
withImages
:@[
muteImgStr
]
withImages
:@[
muteImgStr
]
withTypes
:
@[
@
(
FUSLiveCameraMic
)]];
withTypes
:
@[
@
(
FUSLiveCameraMic
)]
clickItem
:
click
];
return
;
return
;
}
else
if
(
type
==
FUSShowAllSetting
)
{
}
else
if
(
type
==
FUSShowAllSetting
)
{
[
self
showOptionalViewWithTitleArray
:@[[
NSString
fus_localString
:
@"美颜设置"
],
[
self
showOptionalViewWithTitleArray
:@[[
NSString
fus_localString
:
@"美颜设置"
],
...
@@ -101,14 +102,16 @@
...
@@ -101,14 +102,16 @@
@
(
FUSFaceBeautychangeCamera
),
@
(
FUSFaceBeautychangeCamera
),
@
(
FUSFaceBeautyTurnOnLight
),
@
(
FUSFaceBeautyTurnOnLight
),
@
(
FUSLiveCameraMirror
),
@
(
FUSLiveCameraMirror
),
@
(
FUSLiveSetTheme
)]];
@
(
FUSLiveSetTheme
)]
clickItem
:
click
];
}
else
if
(
type
==
FUSShowFlashLineAndCamera
){
}
else
if
(
type
==
FUSShowFlashLineAndCamera
){
[
self
showOptionalViewWithTitleArray
:@[[
NSString
fus_localString
:
@"闪光关闭"
],[
NSString
fus_localString
:
@"反转镜头"
]]
[
self
showOptionalViewWithTitleArray
:@[[
NSString
fus_localString
:
@"闪光关闭"
],[
NSString
fus_localString
:
@"反转镜头"
]]
withImages
:@[
@"live_icon_turnOnLine"
,
@"live_icon_changeCamera"
]
withImages
:@[
@"live_icon_turnOnLine"
,
@"live_icon_changeCamera"
]
withTypes
:
@[
withTypes
:
@[
@
(
FUSFaceBeautyTurnOnLight
),
@
(
FUSFaceBeautyTurnOnLight
),
@
(
FUSFaceBeautychangeCamera
)]
clickItem
:
click
];
@
(
FUSFaceBeautychangeCamera
)]
clickItem
:
click
];
}
}
[
view
addSubview
:
self
];
[
view
addSubview
:
self
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment