Iqbal Khan
Iqbal Khan

Reputation: 4617

Live streaming on iPhone

I just started work on live streaming on iPhone. So any help of how to do live streming in iPhone. I think if I can add video tag in HTML5 and then load that html in UIWebView will work. Am I right? If not what is your sugestion to do live streaming. I want to embed some news channel live streaming link in the application so from where I can find those links.

Upvotes: 1

Views: 8393

Answers (3)

rckoenes
rckoenes

Reputation: 69459

Apple has some nice resources on Http Live Streaming.

Upvotes: 0

Twelve47
Twelve47

Reputation: 3984

If you're making a web app in html5 then the video tag is a good choice.

But, If you're developing a native app then MPMoviePlayerController would be a much better choice. There are many example of how to use it online.

iOS doesn't support RTMP or RSTP, so your stream would need to be a HTTP Live stream. From memory the codec choice is very limited too, eg if you supply H264+mp3 you won't get any sound despite iOS supporting mp3.

Also remember that streams from other people (such as the BBC) will normally be protected by international copyright law, so unless you have prior permission to use their stream in your app you may be breaking the law.

Upvotes: 2

user141302
user141302

Reputation:

You have to go through HTTP Live streaming document provided by Apple.There are some sample live streaming URLs.The file extension will be .m3u8.If you want to configure your own webwserver , you have to configure FFMPEG server in your webserver.The links which will help you 1)Apple document 2)stackoverflow 3)stackoverflow 4)stackoverflow

Upvotes: 5

Related Questions