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
d300a4cd
authored
Mar 05, 2026
by
suolong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复点bug
parent
f27a227e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
1 deletions
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Controller/FUSLiveMainViewController.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Other/FUSLiveHelper.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Controller/FUSLiveMainViewController.m
View file @
d300a4cd
...
...
@@ -2371,6 +2371,9 @@ typedef NS_ENUM(NSInteger, FUSStreamState) {
self
.
pipController
.
delegate
=
self
;
[
self
.
pipController
prepareWithCompletion
:
nil
];
NSLog
(
@"FUSSwiftLiveHelper.shared.pkHelper.ocViewModel.currentPKState = %@"
,
FUSSwiftLiveHelper
.
shared
.
pkHelper
.
ocViewModel
.
oc_localAnchorModel
.
uid
);
CGRect
rect
=
FUSSwiftLiveHelper
.
shared
.
pkHelper
.
ocViewModel
.
currentPKState
==
FFPKStateNone
?
CGRectMake
(
0
,
0
,
UIView
.
fus_screenW
,
UIView
.
fus_screenW
*
16
/
9
)
:
CGRectMake
(
0
,
0
,
UIView
.
fus_screenW
,
UIView
.
fus_screenW
*
16
/
18
);
[
self
setPictureInPictureVideoFrame
:
rect
];
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Other/FUSLiveHelper.m
View file @
d300a4cd
...
...
@@ -1061,7 +1061,7 @@ static NSString *const KLiveDataCenter_store_liveRTCData = @"LiveDataCenter_stor
FUSLiveMinimizeViewType
type
=
FUSLiveMinimizeViewTypeNormalLive
;
if
(
FUSLiveHelper
.
shareInstance
.
liveRoomType
==
FUSRoomTypePK
)
{
type
=
FUSLive
MinimizeViewTyp
ePK
;
type
=
FUSLive
Helper
.
shareInstance
.
rtcType
.
integerValue
==
1
?
FUSLiveMinimizeViewTypePK
:
FUSLiveMinimizeViewTypeByt
ePK
;
}
else
if
(
FUSLiveHelper
.
shareInstance
.
liveRoomType
==
FUSRoomTypeLinkMic
)
{
type
=
FUSLiveMinimizeViewTypeLinkMicRoom
;
}
...
...
@@ -1078,6 +1078,11 @@ static NSString *const KLiveDataCenter_store_liveRTCData = @"LiveDataCenter_stor
[
FUSLiveHelper
shareInstance
].
liveMinimizeView
.
type
=
FUSLiveMinimizeViewTypePK
;
break
;
}
case
FUSStreamPlayViewPlayTypeNewPK
:
{
[
FUSLiveHelper
shareInstance
].
liveMinimizeView
.
type
=
FUSLiveMinimizeViewTypeBytePK
;
break
;
}
case
FUSStreamPlayViewPlayTypeNormal
:
case
FUSStreamPlayViewPlayTypeLinkMic
:
[
FUSLiveHelper
shareInstance
].
liveMinimizeView
.
type
=
FUSLiveMinimizeViewTypeNormalLive
;
...
...
@@ -1837,6 +1842,31 @@ static NSString *const KLiveDataCenter_store_liveRTCData = @"LiveDataCenter_stor
#pragma mark - setter
-
(
void
)
setLiveType
:
(
FUSLiveType
)
liveType
{
_liveType
=
liveType
;
}
-
(
void
)
setLiveRoomType
:
(
FUSLiveRoomType
)
liveRoomType
{
_liveRoomType
=
liveRoomType
;
switch
(
liveRoomType
)
{
case
FUSRoomTypePK
:
{
[
FUSLiveHelper
shareInstance
].
liveMinimizeView
.
type
=
[
FUSLiveHelper
shareInstance
].
rtcType
.
integerValue
==
1
?
FUSLiveMinimizeViewTypePK
:
FUSLiveMinimizeViewTypeBytePK
;
break
;
}
case
FUSRoomTypeLinkMic
:
[
FUSLiveHelper
shareInstance
].
liveMinimizeView
.
type
=
FUSLiveMinimizeViewTypeLinkMicRoom
;
break
;
default
:
[
FUSLiveHelper
shareInstance
].
liveMinimizeView
.
type
=
FUSLiveMinimizeViewTypeNormalLive
;
break
;
}
}
-
(
void
)
setRoomScopeType
:
(
FUSLiveRoomScopeType
)
roomScopeType
{
if
(
_roomScopeType
==
roomScopeType
)
{
return
;
...
...
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