Xcode ios:录制时流式传输视频文件并删除多余的个人陈述
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9390647/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Xcode ios: Streaming of video file while recording and removed redundant personal statements
提问by Kamleshwar
Can anybody suggest how I can upload video file while recording.
任何人都可以建议我如何在录制时上传视频文件。
As I am recording video using AVFoundation
this will save video to some file eg. record.mov .
当我使用AVFoundation
它录制视频时,会将视频保存到某个文件中,例如。记录.mov
Now my query is how I can upload this video while recording, as I want to save user time as soon as user record his/her video should be uploaded.
现在我的问题是如何在录制时上传此视频,因为我想在用户录制他/她的视频后立即保存用户时间。
Right now I am trying with HTTP, File stream to upload video.
现在我正在尝试使用 HTTP、文件流来上传视频。
采纳答案by Kamleshwar
I have found solution to capture videos frame while recording using AVFoundation
我找到了在使用 AVFoundation 录制时捕获视频帧的解决方案
Apple provided this sample code
Apple 提供了此示例代码
http://developer.apple.com/library/ios/#samplecode/RosyWriter/Introduction/Intro.html
http://developer.apple.com/library/ios/#samplecode/RosyWriter/Introduction/Intro.html