The error message when you reused an AVCapturePhotoSettings object is -[AVCapturePhotoOutput capturePhotoWithSettings:delegate:] Settings may not be re-used'
.
AVPlayer
AVFoundation provides a controller class AVPlayer
to play timed audio-visual media. The AVPlayer can handle playback of local, progressively downloaded and streamed media conforming HLS protocol.
AVAsset
is an abstract, immutable class providing a composite representation of a media resource, modeling the static attributes of the media as a whole, such as its title, duration, and metadata. AVAsset is not the media itself, but acts as a container for timed media. It is composed of one or more media tracks along with metadata describing its contents.
AVAudioRecorder
is also built on top of Audio Queue Services. It provides capability to:
- Record until user stop the recording
- Record for a specified duration
- Pause and resume recording
- Audio-level metering
AVAudioPlayer
makes easy to playback the audio data from local files and memory. It is built on top of Core Audio’s C-based Audio Queue Service. It provides all core functions we can find in Audio Queue Service.
Continue reading
I will talk about NSTimer in this order.
- Initial a NSTimer
- Invalidate a NSTimer
- NSTimer and runloop
Here is how to create thumbnail for videos. Two steps:
Continue reading
I got this error because I mistyped the Link to link.
Continue reading
Continue after GCD Note 1.
Continue reading
Before talking about strongSelf and weakSelf, I need briefly explain retain cycle.
Continue reading