¡@

Home 

2014/10/15 ¤U¤È 10:14:26

iphone Programming Glossary: startrecording

How do I record audio on iPhone with AVAudioRecorder?

http://stackoverflow.com/questions/1010343/how-do-i-record-audio-on-iphone-with-avaudiorecorder

edited object using KVC. #define DOCUMENTS_FOLDER NSHomeDirectory stringByAppendingPathComponent @ Documents void startRecording UIBarButtonItem stopButton UIBarButtonItem alloc initWithTitle @ Stop style UIBarButtonItemStyleBordered target self action.. UIBarButtonItem alloc initWithTitle @ Record style UIBarButtonItemStyleBordered target self action @selector startRecording self.navigationItem.rightBarButtonItem startButton startButton release void audioRecorderDidFinishRecording AVAudioRecorder..

Video Recording using AVFoundation Framework iPhone?

http://stackoverflow.com/questions/3932614/video-recording-using-avfoundation-framework-iphone

session addOutput movieFileOutput self setSession session crashes if session isRunning self performSelector @selector startRecording withObject nil afterDelay 1.0 session startRunning void startRecording AVCaptureConnection videoConnection playVideo connectionWithMediaType.. isRunning self performSelector @selector startRecording withObject nil afterDelay 1.0 session startRunning void startRecording AVCaptureConnection videoConnection playVideo connectionWithMediaType AVMediaTypeVideo fromConnections self movieFileOutput.. videoConnection isVideoOrientationSupported videoConnection setVideoOrientation self orientation self movieFileOutput startRecordingToOutputFileURL self tempFileURL recordingDelegate self void stopRecording NSLog @ stop recording self movieFileOutput..

Simultaneous AVCaptureVideoDataOutput and AVCaptureMovieFileOutput

http://stackoverflow.com/questions/3968879/simultaneous-avcapturevideodataoutput-and-avcapturemoviefileoutput

works however the video recording does not. The didFinishRecordingToOutputFileAtURL delegate is called directly after startRecordingToOutputFileURL is called. Now if i remove AVCaptureVideoDataOutput from the AVCaptureSession by simply commenting out the.. setSessionPreset AVCaptureSessionPresetLow captureSession commitConfiguration self performSelector @selector startRecording withObject nil afterDelay 10.0 self performSelector @selector stopRecording withObject nil afterDelay 15.0 captureSession.. 10.0 self performSelector @selector stopRecording withObject nil afterDelay 15.0 captureSession startRunning void startRecording m_captureFileOutput startRecordingToOutputFileURL self tempFileURL recordingDelegate self void stopRecording if m_captureFileOutput..

AVAudioRecorder won't record IF movie was previously recorded & played

http://stackoverflow.com/questions/4148123/avaudiorecorder-wont-record-if-movie-was-previously-recorded-played

prepareToRecord NO NSLog @ Recorder fails to prepare settings release And here's my method to start recording void startRecording if audioRecorder self createAudioRecorder NSError error nil AVAudioSession sharedInstance setActive YES error error if error.. having the same issue. Before I fixed the issue my recording playback code was like this Start Recording Function BOOL startRecording @try NSDictionary recordSetting NSDictionary alloc initWithObjectsAndKeys NSNumber numberWithInt kAudioFormatAppleLossless.. e return NO return YES I fixed the recording issue after playing a captured video the code is as follows BOOL startRecording @try AVAudioSession session AVAudioSession sharedInstance session setCategory AVAudioSessionCategoryRecord error nil rest..

Avfoundation - Play and record video (along with audio and preview) simultaneously

http://stackoverflow.com/questions/6991452/avfoundation-play-and-record-video-along-with-audio-and-preview-simultaneous

nil alertView show alertView release captureManager release if self captureManager isRecording self captureManager startRecording Where as i am using AVCamCaptureManager from apple AVCam sample code. iphone video avfoundation video capture recording..

Delay in Recording using avaudiorecorder [closed]

http://stackoverflow.com/questions/7804177/delay-in-recording-using-avaudiorecorder

pressed recordButton setBackgroundImage UIImage imageNamed @ stop.png forState UIControlStateNormal recordBtn YES startRecording Init audio with record capability AVAudioSession audioSession AVAudioSession sharedInstance audioSession setCategory AVAudioSessionCategoryRecord..

AVAudioRecorder Record method returns NO at random times

http://stackoverflow.com/questions/9706020/avaudiorecorder-record-method-returns-no-at-random-times

and play them from the app but at random times the audio recorder will fail to start a recording in this method void startRecording if isRecording isRecording YES BOOL recordingSucess audioRecorder record if recordingSucess NSLog @ WE STARTED THE RECORDING..