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
f6352692
authored
Feb 04, 2025
by
pierce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加capture方法
parent
4c2c58f2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Views/StreamView/FUSByteStreamCaptureHelper.m
DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Views/StreamView/FUSStreamCaptureHelper.h
DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Views/StreamView/FUSStreamCaptureHelper.m
DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Views/StreamView/FUSByteStreamCaptureHelper.m
View file @
f6352692
...
@@ -485,6 +485,15 @@
...
@@ -485,6 +485,15 @@
[
self
.
engine
.
camera
resumeCameraCapture
];
[
self
.
engine
.
camera
resumeCameraCapture
];
}
}
-
(
void
)
fus_pauseAudioCapture
{
[
self
.
engine
stopAudioCapture
];
}
-
(
void
)
fus_resumeAudioCapture
{
[
self
.
engine
startAudioCapture
];
}
/**
/**
获取实时统计信息
获取实时统计信息
...
...
DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Views/StreamView/FUSStreamCaptureHelper.h
View file @
f6352692
...
@@ -141,6 +141,10 @@ typedef NS_ENUM(NSUInteger, FUSLiveCoreNetworkQuality) {
...
@@ -141,6 +141,10 @@ typedef NS_ENUM(NSUInteger, FUSLiveCoreNetworkQuality) {
-
(
void
)
fus_resumeCapture
;
-
(
void
)
fus_resumeCapture
;
-
(
void
)
fus_pauseAudioCapture
;
-
(
void
)
fus_resumeAudioCapture
;
/// 重置推流的帧率
/// 重置推流的帧率
-
(
void
)
fus_setFPS
:(
NSInteger
)
fps
;
-
(
void
)
fus_setFPS
:(
NSInteger
)
fps
;
...
...
DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Views/StreamView/FUSStreamCaptureHelper.m
View file @
f6352692
...
@@ -117,6 +117,14 @@
...
@@ -117,6 +117,14 @@
}
}
-
(
void
)
fus_pauseAudioCapture
{
}
-
(
void
)
fus_resumeAudioCapture
{
}
/**
/**
获取实时统计信息
获取实时统计信息
...
...
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