¡@

Home 

2014/10/15 ¤U¤È 10:04:33

iphone Programming Glossary: beginconfiguration

Activate the LED for a flashlight app

http://stackoverflow.com/questions/3253187/activate-the-led-for-a-flashlight-app

touch share improve this question Use the following AVCaptureSession session AVCaptureSession alloc init session beginConfiguration AVCaptureDevice device AVCaptureDevice defaultDeviceWithMediaType AVMediaTypeVideo if device hasTorch device hasFlash device..

streaming video FROM an iPhone

http://stackoverflow.com/questions/3444791/streaming-video-from-an-iphone

your recording to separate 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..

How to change video orientation for AVCaptureVideoDataOutput

http://stackoverflow.com/questions/3823461/how-to-change-video-orientation-for-avcapturevideodataoutput

self.view.layer addSublayer self.prevLayer AVCaptureConnection videoConnection NULL self.captureSession beginConfiguration for AVCaptureConnection connection in captureOutput connections for AVCaptureInputPort port in connection inputPorts if..

Simultaneous AVCaptureVideoDataOutput and AVCaptureMovieFileOutput

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

captureInput captureSession addOutput m_captureFileOutput captureSession addOutput captureDataOutput captureSession beginConfiguration captureSession setSessionPreset AVCaptureSessionPresetLow captureSession commitConfiguration self performSelector @selector..

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

output AVCaptureVideoDataOutput alloc init AVCaptureSession session AVCaptureSession alloc init session beginConfiguration device lockForConfiguration nil device setTorchMode AVCaptureTorchModeOn device setFlashMode AVCaptureFlashModeOn session..

AVAssetWritter does not work with audio

http://stackoverflow.com/questions/5200077/avassetwritter-does-not-work-with-audio

AVMediaTypeVideo microphone AVCaptureDevice defaultDeviceWithMediaType AVMediaTypeAudio menu camera camera session beginConfiguration camera lockForConfiguration nil if camera isExposureModeSupported AVCaptureExposureModeContinuousAutoExposure camera.exposureMode.. contextInfo nil start_time release temp_url release av_adaptor release microphone lockForConfiguration 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..