iphone Programming Glossary: commitconfiguration
Activate the LED for a flashlight app http://stackoverflow.com/questions/3253187/activate-the-led-for-a-flashlight-app AVCaptureVideoDataOutput output AVCaptureVideoDataOutput alloc init session addOutput output output release session commitConfiguration session startRunning self setTorchSession session session release From a discussion on iPhoneDevSDK share improve this..
streaming video FROM an iPhone http://stackoverflow.com/questions/3444791/streaming-video-from-an-iphone files with a length of say 10sec then send them separately. If you use AVCaptureSession 's beginConfiguration and commitConfiguration methods to batch your output change you shouldn't drop any frames between the files. This has many advantages over frame..
How to change video orientation for AVCaptureVideoDataOutput http://stackoverflow.com/questions/3823461/how-to-change-video-orientation-for-avcapturevideodataoutput it is its always false videoConnection setVideoOrientation AVCaptureVideoOrientationLandscapeLeft self.captureSession commitConfiguration self.captureSession startRunning Upd figured that when exporting video the AVAssetExportSession loses preferredTransform..
iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly? http://stackoverflow.com/questions/3847140/iphone-sdk-4-avfoundation-how-to-use-capturestillimageasynchronouslyfromconnec self.captureSession canAddOutput stillImageOutput self.captureSession addOutput stillImageOutput self.captureSession commitConfiguration self.captureSession startRunning iphone camera avfoundation share improve this question We had this problem when 4.0..
Simultaneous AVCaptureVideoDataOutput and AVCaptureMovieFileOutput http://stackoverflow.com/questions/3968879/simultaneous-avcapturevideodataoutput-and-avcapturemoviefileoutput captureSession beginConfiguration captureSession setSessionPreset AVCaptureSessionPresetLow captureSession commitConfiguration self performSelector @selector startRecording withObject nil afterDelay 10.0 self performSelector @selector stopRecording..
How can I make the iPhone 4 LED light fire instantly? http://stackoverflow.com/questions/3983032/how-can-i-make-the-iphone-4-led-light-fire-instantly session addInput flashInput session addOutput output device unlockForConfiguration output release session commitConfiguration session startRunning self setTorchSession session session release else NSLog @ It's currently on.. turning off now...
AVAssetWritter does not work with audio http://stackoverflow.com/questions/5200077/avassetwritter-does-not-work-with-audio AVCaptureTorchModeOn camera setTorchMode AVCaptureTorchModeOn camera unlockForConfiguration session commitConfiguration AVCaptureDeviceInput camera_input AVCaptureDeviceInput deviceInputWithDevice camera error nil session addInput camera_input.. nil session beginConfiguration session removeInput microphone_input session removeOutput audio_output session commitConfiguration microphone unlockForConfiguration menu restateConfigiration vid_off play else Start recording vid_on play microphone lockForConfiguration.. nil session beginConfiguration session addInput microphone_input session addOutput audio_output session commitConfiguration microphone unlockForConfiguration menu restateConfigiration video_button setTitle @ Stop forState UIControlStateNormal recording..
|