简体   繁体   English

将视频从iPhone流传输到Web服务器-压缩和流传输步骤

[英]Stream video from iPhone to web server - compress and stream step

I have seen a few other posts here and here . 在这里这里还看到了其他一些帖子。 The second link is precisely what I want to do, however I can't get past step 2 in the answer: Compress/Stream to server. 第二个链接正是我想做的,但是我无法通过答案中的步骤2:压缩/流式传输到服务器。

EDIT: 编辑:

I have this example working, but I need to know how to setup the server to receive the frames that I send. 我有这个示例,但我需要知道如何设置服务器以接收发送的帧。 How do you receive a bunch of pictures and turn them into a video? 您如何接收一堆图片并将其转换为视频?

Take a look at http://www.gdcl.co.uk/2013/02/20/iOS-Video-Encoding.html . 看看http://www.gdcl.co.uk/2013/02/20/iOS-Video-Encoding.html This sample uses an AVAssetWriter to encode the video from the camera to H264 and then uses RTSP/RTP to stream the data to a player. 此示例使用AVAssetWriter将来自摄像机的视频编码为H264,然后使用RTSP / RTP将数据流传输到播放器。

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

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