Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
59de1fd2
Commit
59de1fd2
authored
Jun 09, 2020
by
严久程
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
云信音视频增加服务端录制
parent
89b7bbfc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
AVChatController.java
m-im/src/main/java/com/yidianling/avchatkit/controll/AVChatController.java
+5
-0
No files found.
m-im/src/main/java/com/yidianling/avchatkit/controll/AVChatController.java
View file @
59de1fd2
...
...
@@ -107,6 +107,8 @@ public class AVChatController {
AVChatManager
.
getInstance
().
enableRtc
(
AVPrivatizationConfig
.
getServerAddresses
(
context
));
AVChatManager
.
getInstance
().
setParameters
(
avChatConfigs
.
getAvChatParameters
());
AVChatManager
.
getInstance
().
setParameter
(
AVChatParameters
.
KEY_VIDEO_FRAME_FILTER
,
true
);
AVChatManager
.
getInstance
().
setParameter
(
AVChatParameters
.
KEY_SERVER_AUDIO_RECORD
,
true
);
AVChatManager
.
getInstance
().
setParameter
(
AVChatParameters
.
KEY_SERVER_VIDEO_RECORD
,
true
);
if
(
mVideoCapturer
==
null
)
{
mVideoCapturer
=
AVChatVideoCapturerFactory
.
createCameraCapturer
(
true
);
...
...
@@ -156,6 +158,9 @@ public class AVChatController {
AVChatManager
.
getInstance
().
enableRtc
(
AVPrivatizationConfig
.
getServerAddresses
(
context
));
AVChatManager
.
getInstance
().
setParameters
(
avChatConfigs
.
getAvChatParameters
());
AVChatManager
.
getInstance
().
setParameter
(
AVChatParameters
.
KEY_VIDEO_FRAME_FILTER
,
true
);
AVChatManager
.
getInstance
().
setParameter
(
AVChatParameters
.
KEY_SERVER_AUDIO_RECORD
,
true
);
AVChatManager
.
getInstance
().
setParameter
(
AVChatParameters
.
KEY_SERVER_VIDEO_RECORD
,
true
);
if
(
mVideoCapturer
==
null
)
{
mVideoCapturer
=
AVChatVideoCapturerFactory
.
createCameraCapturer
(
true
);
AVChatManager
.
getInstance
().
setupVideoCapturer
(
mVideoCapturer
);
...
...
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