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
550bbadc
authored
Jun 26, 2026
by
ludi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复一个flutter音频设置的bug
parent
2561bb38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
DevelopmentPods/FUSCommon/FUSCommon/Classes/Common/Flutter/Classes/FUSFlutterBridge.swift
DevelopmentPods/FUSCommon/FUSCommon/Classes/Common/Flutter/Classes/FUSFlutterBridge.swift
View file @
550bbadc
...
@@ -199,13 +199,13 @@ public final class FUSFlutterBridge: NSObject {
...
@@ -199,13 +199,13 @@ public final class FUSFlutterBridge: NSObject {
if
type
==
self
.
currentVideoStateType
{
if
type
==
self
.
currentVideoStateType
{
return
return
}
}
self
.
currentVideoStateType
=
type
fus_p_setVideoState
(
type
:
type
)
fus_p_setVideoState
(
type
:
type
)
}
}
/// 直接设置
/// 直接设置
private
func
fus_p_setVideoState
(
type
:
Int
)
{
private
func
fus_p_setVideoState
(
type
:
Int
)
{
let
json
=
encodeJSONString
([
"type"
:
type
])
activeChannel
?
.
invokeMethod
(
"setVideoState"
,
arguments
:
type
)
activeChannel
?
.
invokeMethod
(
"setVideoState"
,
arguments
:
json
)
}
}
/// 判断当前 Flutter 页面是否需要执行首次出现处理,仅同一实例首次出现时返回 `true`。
/// 判断当前 Flutter 页面是否需要执行首次出现处理,仅同一实例首次出现时返回 `true`。
...
...
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