如何将视频从iPhone流式传输到Wowza服务器? [英] How to live stream video from iPhone to a Wowza server?

查看:165
本文介绍了如何将视频从iPhone流式传输到Wowza服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用RTP协议直播从iPhone相机到Wowza服务器的视频。

I would like to live stream a video from the iPhone camera to a Wowza server using the RTP protocol.

我正在玩AVFoundation框架但是无法将数据发送到特定的URL来执行此操作。

I was 'playing' with the AVFoundation framework but is not possible to send the data to an specific URL to do it.

我在论坛中读到更好的方法是使用ffmpeg库。我编译它,我得到了所有* .a文件。另外,我编译了这个论坛的用户库(Livu创建者),名为ffstream.a

I read in the forums that the better way is to use the ffmpeg library. I compile the it and I got all the *.a files. Also, I compile a library of a user of this forums (Livu creator) called ffstream.a

我想我必须编码我用AV获得的RAW图像框架到H264并在它发送到wowza服务器之后。有人可以帮我提一些如何将原始帧发送到rtp服务器的技巧吗?

I think I have to encode my RAW images which I get with the AV framework to H264 and after it send it to the wowza server. Someone could help me with some tips of how to send the raw of frames to the rtp server?

提前致谢并亲切问候:)

Thanks in advance and kind regards :)

推荐答案

如果您想尝试一下,可以在Apple商店找到:

If you want to try it, on the apple store you could find :


  • Wowza Gocoder

  • Livu

  • Wowza Gocoder
  • Livu

对于这两个应用程序,它允许您通过WiFi,4G / 3G连接从iPhone / iPod / iPad流式传输实时事件。
Wowza Gocoder livu 更新,更新。

For both of those applications, it's allow you to stream live events from a iPhone/iPod/iPad through a WiFi, 4G/3G connection. Wowza Gocoder is a little be more recent and more updated than livu.

你可以试试使用iOS Framework构建类似的应用程序。
您只需要知道如何从摄像头获取h264流并将其发布到服务器。这可以通过RTP / RTSP或通过RTMP实现。

You can try to build a similar application with the iOS Framework. Your just need to know how to get an h264 stream from the camera and publish it to a server. It's possible through RTP/RTSP or through RTMP.

为了得到一些例子,Livu代码在2年前作为LGPL项目发布。
代码可在此处获取: https://github.com/otmakie/LivuLib

To have some exemple, Livu code was released as an LGPL project 2 years ago. Code is available here : https://github.com/otmakie/LivuLib

您还可以查看以下主题:从iPhone上传直播视频

You can also look at this topic : Uploading live streaming video from iPhone

这篇关于如何将视频从iPhone流式传输到Wowza服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆