JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
CameraDevice::Pimpl::CaptureSession::VideoRecorder Class Reference
Collaboration diagram for CameraDevice::Pimpl::CaptureSession::VideoRecorder:

Classes

struct  FileOutputRecordingDelegateClass
 

Public Member Functions

 VideoRecorder (CaptureSession &captureSession)
 
 ~VideoRecorder ()
 
Time getTimeOfFirstRecordedFrame () const
 
void startRecording (const File &file, AVCaptureVideoOrientation orientationToUse)
 
void stopRecording ()
 

Static Private Member Functions

static void printVideoOutputDebugInfo (AVCaptureMovieFileOutput *output)
 

Private Attributes

std::unique_ptr< NSObject< AVCaptureFileOutputRecordingDelegate >, NSObjectDeleter > delegate
 
Atomic< int64 > firstRecordedFrameTimeMs { 0 }
 
AVCaptureMovieFileOutput * movieFileOutput
 
bool recordingInProgress = false
 

Constructor & Destructor Documentation

◆ VideoRecorder()

CameraDevice::Pimpl::CaptureSession::VideoRecorder::VideoRecorder ( CaptureSession captureSession)
inline

◆ ~VideoRecorder()

CameraDevice::Pimpl::CaptureSession::VideoRecorder::~VideoRecorder ( )
inline

Member Function Documentation

◆ getTimeOfFirstRecordedFrame()

Time CameraDevice::Pimpl::CaptureSession::VideoRecorder::getTimeOfFirstRecordedFrame ( ) const
inline

◆ printVideoOutputDebugInfo()

static void CameraDevice::Pimpl::CaptureSession::VideoRecorder::printVideoOutputDebugInfo ( AVCaptureMovieFileOutput *  output)
inlinestaticprivate

◆ startRecording()

void CameraDevice::Pimpl::CaptureSession::VideoRecorder::startRecording ( const File &  file,
AVCaptureVideoOrientation  orientationToUse 
)
inline

◆ stopRecording()

void CameraDevice::Pimpl::CaptureSession::VideoRecorder::stopRecording ( )
inline

Member Data Documentation

◆ delegate

std::unique_ptr<NSObject<AVCaptureFileOutputRecordingDelegate>, NSObjectDeleter> CameraDevice::Pimpl::CaptureSession::VideoRecorder::delegate
private

◆ firstRecordedFrameTimeMs

Atomic<int64> CameraDevice::Pimpl::CaptureSession::VideoRecorder::firstRecordedFrameTimeMs { 0 }
private

◆ movieFileOutput

AVCaptureMovieFileOutput* CameraDevice::Pimpl::CaptureSession::VideoRecorder::movieFileOutput
private

◆ recordingInProgress

bool CameraDevice::Pimpl::CaptureSession::VideoRecorder::recordingInProgress = false
private

The documentation for this class was generated from the following file: