[英]How to record video call using QuickBlox
我在 ios 中使用QuickbloxWebRTC框架进行视频通话。 但我没有看到任何录制此视频通话的选项。 如果我遗漏了什么,任何人都可以帮助我。
我的 Quickblox sdk 版本是2.6.5我正在按照此示例进行视频通话。
谢谢
请检查 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 以进行视频聊天
如何使用 setcustomvideochatcapturesession-for-video-chat
这里提到整个代码和关于 VideoChat 保存的例子
我希望这些信息对你来说已经足够了。
哦! 如果是这样,也许您也可以使用我安装的工具。 您可以访问 AceThinker Screen Grabber Pro 的官方网站进行安装。 然后,单击“录制”按钮并点击“全屏”以开始在 QuickBlox 上录制您的视频通话。 接下来,只需点击浮动工具栏上的“停止”按钮即可自动结束并保存您录制的通话。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.