简体   繁体   English

将Quickblox视频聊天保存在手机内存中

[英]Saving Quickblox video chat in phone memory

Hi I am using Quickblox in my iPhone app for Video chat. 嗨,我在我的iPhone应用程序中使用Quickblox进行视频聊天。 Now I want to save the chat sessions into phone memory (camera roll). 现在,我想将聊天会话保存到手机内存中(相机胶卷)。 Is it possible. 可能吗。 I want to save it with sound. 我想用声音保存它。

I searche dfor this and I found this and this code from quickblox I am not able to record the video from these. 我搜索器DFOR这一点,我发现这个从quickblox我无法从这些记录的视频编码。 Please help me to do this. 请帮我做到这一点。 If possible please explain with code. 如果可能的话,请用代码解释。

For this you need to use custom capture session 为此,您需要使用自定义捕获会话

http://quickblox.com/developers/SimpleSample-videochat-ios#Use_custom_capture_session http://quickblox.com/developers/SimpleSample-videochat-ios#Use_custom_capture_session

With this you have 2 callback - one for video raw data and the second one is for audio raw data 有了这个,您有2个回调-一个用于视频原始数据,第二个用于音频原始数据

Next - use Apple AQRecorder sample files to merge both streams into single file and save to the camera roll https://developer.apple.com/library/ios/samplecode/SpeakHere/Listings/Classes_AQRecorder_h.html 接下来-使用Apple AQRecorder示例文件将两个流合并为单个文件并保存到相机胶卷https://developer.apple.com/library/ios/samplecode/SpeakHere/Listings/Classes_AQRecorder_h.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM