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.
- Fastest way to get array of NSRange objects for all uppercase letters in an NSString?
- Xcode & iOS - Create Plugins?
- NSArray Values are Display after touche in screen in Tableview
- How to deal with compiler optimization problems
- Can I disable UIPickerView scroll sound?
- Increasing a thumbs “click area” in UISlider
3 Solutions Collect From Internet About “Live streaming on iPhone”
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
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.
Apple has some nice resources on Http Live Streaming.
- Parse and Swift. Get cells in UITableView which have a checkmark. “Cannot invoke argument.“
- Storyboard + base localization + .strings file does not localize at runtime
- iOS Determine the corners of a Business Card in realtime
- Testing for enum value fails if one has associated value?
- facebook SDK3.1 and Xcode 4.5 linker error
- Where to Write Shared Application Data -Between Users in OSX
- How to know the current storyboard name?
- How do I put an UIImageView in the center of a tableView
- Autolayout aspect ratio for UIImageView / UIView
- Difference between these two NSString methods
- Convert a NSDate to milliseconds epoch time
- Call can throw, but errors can not be thrown out of a global variable initializer
- Fetching all contacts in ios Swift?
- How do I set the height of tableHeaderView (UITableView) with autolayout?
- Attributed text, replace a specific font by another using swift