Commit 59de1fd2 by 严久程

云信音视频增加服务端录制

parent 89b7bbfc
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment