How to live stream video from iPhone to a Wowza se

2020-02-20 03:46发布

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

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

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

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 :)

4条回答
爱情/是我丢掉的垃圾
2楼-- · 2020-02-20 04:27

Try Livu app lib , source on git : https://github.com/otmakie/LivuLib.git

查看更多
在下西门庆
3楼-- · 2020-02-20 04:27

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

  • 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.

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.

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

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

查看更多
兄弟一词,经得起流年.
4楼-- · 2020-02-20 04:27

There is a very good streaming SDK here (www.streamaxia.com). They have ABR and their app broadcastme can live stream to youtube, twitch and to their servers very easily.

I heard that is the old RealTimeLibs company but I think they are way better.

查看更多
叼着烟拽天下
5楼-- · 2020-02-20 04:33

I have recently developed an iOS app, which push video streams from iOS device camera to wowza Streaming Cloud using RTMP protocol. I have used LFLiveKit for streaming video to wowza server. LFLiveKit is a great iOS library which is very simple and effective RTMP library for iOS.

To integrate LFLiveKit into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git' platform :ios, '7.0' pod 'LFLiveKit'

Then, run the following command:

$ pod install

查看更多
登录 后发表回答