Reputation: 540
Is it possible to record video on iphone 3g with ios 4.1 using AVFoundation? I m able to record audio and can pick still image using AVFoundation but not able to record video.
Upvotes: 2
Views: 794
Reputation: 3593
As long as a device has a camera, you should be able to record using AVFoundation, check out the AVCam demo code from WWDC 2010 to see how you can do that.
Upvotes: 0
Reputation: 26390
If you see the AVFoundation
reference documentation its stated that
You should typically use the highest-level abstraction available that allows you to perform the tasks you want. For example:
- If you simply want to play movies, you can use the Media Player
Framework (MPMoviePlayerController or MPMoviePlayerViewController), or for
web-based media you could use a
UIWebView object.- To record video when you need only minimal control over format, use the
UIKit framework
(UIImagePickerController).
Upvotes: 1