Am I developing an application that requires recording video in the background when a user listens to a music player in the application? Is it possible to automatically start the iphone VCR in the background without prompting the user to press the record button?
Take a look at the new AV Foundation framework in iOS 4.0, this framework provides (low-level) access to capture video from the camera (s).
The main class you'll need to use is AVCaptureSession, and you must set the output to either AVCaptureMovieFileOutputor AVCaptureVideoDataOutput.
AVCaptureSession
AVCaptureMovieFileOutput
AVCaptureVideoDataOutput
: AV Foundation
, . Apple API , . .
ios 4, : 1. , , 2. screendimmer, , 3. , "" , , , , .
, - ios
Launch the No Video app, click the red icon at the bottom to start recording, then left to show a normal black image while continuing to record video.
Source: https://habr.com/ru/post/1766712/More articles:System.Drawing.Image.FromFile does not close the file stream - gdi +ASP.NET Intermittent lag before Application_BeginRequest () - iis-7https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1766709/where-to-find-emf-artifact-in-maven-repository&usg=ALkJrhhSTVRwHP7NEt8CKOwaN7aqbuDVqgCreate TFS 2010 branch from checked items? - branchΠΠ½Π΅ Π½ΡΠΆΠ½Π° ΡΠΈΡΡΠ΅ΠΌΠ° ΡΠ²Π΅Π΄ΠΎΠΌΠ»Π΅Π½ΠΈΠΉ Π² Π²Π΅Π±-ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠΈ - c#How to handle javascript turned off - javascriptUsing Android AccountManager to get authtoken for gdata - androidUser Routing Within the Area - asp.net-mvc-routingΠΡΠΎΠ³ΡΠ°ΠΌΠΌΠ½ΠΎ ΠΈΠ·ΠΌΠ΅Π½ΠΈΡΡ Π½Π°ΡΡΡΠΎΠΉΠΊΠΈ ΠΏΠΈΡΠ°Π½ΠΈΡ Windows - c#How to implement a small static map display as a list icon? - androidAll Articles