如何使用QuickBlox录制视频通话

问题描述 投票:-1回答:2

我在ios中使用QuickbloxWebRTC框架进行视频通话。但是我看不到任何录制此视频通话的选项。如果我错过了什么,谁能帮我。

我的Quickblox SDK版本为2.6.5我正在跟踪此示例进行视频通话。

sample-videochat-webrtc

谢谢

ios quickblox
2个回答
1
投票

请检查Quickbox教程页面。 Video_chat_recording

他们提到了有关使用方法录制视频会话的所有细节。

- (void)setup{
    // Create video Chat
    QBVideoChat *videoChat = [[QBChat instance] createAndRegisterVideoChatInstance];
    [videoChat setIsUseCustomVideoChatCaptureSession:YES];

    // Create capture session
    self.captureSession = [[AVCaptureSession alloc] init];
    //
    // ... setup capture session here   

    /*We create a serial queue to handle the processing of our frames*/
    dispatch_queue_t callbackQueue= dispatch_queue_create("cameraQueue", NULL);
    [videoCaptureOutput setSampleBufferDelegate:self queue:callbackQueue];

    /*We start the capture*/
    [self.captureSession startRunning];
}
- (void)captureOutput:(AVCaptureOutput *)captureOutput  didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection {

    // Do something with samples
    // ...

    // forward video samples to SDK
    [videoChat processVideoChatCaptureVideoSample:sampleBuffer];
}

注意:-您也可以获取录制CustomVideoChatCaptureSession进行视频聊天

的帮助

how-to-use-setcustomvideochatcapturesession-for-video-chat

这里用有关VideoChat保存的示例介绍整个代码

Quickblox video chat saving

我希望这些信息对您足够。


0
投票

哦!如果是这样,也许您也可以使用我安装的工具。您可以访问AceThinker Screen Grabber Pro的官方网站进行安装。然后,单击“录制”按钮并单击“全屏”以开始在QuickBlox上录制视频通话。接下来,只需点击浮动工具栏上的“停止”按钮即可结束并自动保存录制的呼叫。

© www.soinside.com 2019 - 2024. All rights reserved.