Inherits from NSObject
Conforms to VDARImageSender
Declared in VDARCameraImageSource.h

Overview

Implementation to provide images to PixLive SDK from the device back-side camera.

In the simulator it also provides a static images that can be configured through the [VDARCameraImageSource cameraImageSource] property.

Tasks

Properties

cameraDevice

Access to the camera object used to produce frames

@property (nonatomic, readonly) AVCaptureDevice *cameraDevice

Availability

5.2.0

Discussion

Access to the camera object used to produce frames

Declared In

VDARCameraImageSource.h

cameraImageSource

URL pointing to a valid JPG image used to display in the simulator. By default it’s a beatles image.

@property (nonatomic, retain) NSString *cameraImageSource

Discussion

URL pointing to a valid JPG image used to display in the simulator. By default it’s a beatles image.

Declared In

VDARCameraImageSource.h

frameRate

The frame rate of the camera.

@property (nonatomic) unsigned int frameRate

Discussion

The frame rate of the camera.

Can be adjusted to a lower value if the device is not powerful enough to keep up the framerate. Usually a value betweek 20-25 (fps) works correctly.

Declared In

VDARCameraImageSource.h

imageReceiver

The receiver of the camera frames

@property (nonatomic, assign) id<> imageReceiver

Discussion

The receiver of the camera frames

Declared In

VDARCameraImageSource.h

running

Indicate whether or not the camera is running and capturing frames.

@property (nonatomic, getter=isRunning, readonly) BOOL running

Discussion

Indicate whether or not the camera is running and capturing frames.

Declared In

VDARCameraImageSource.h

Instance Methods

startImageStream

Start the image stream

- (void)startImageStream

Discussion

Start the image stream

Declared In

VDARCameraImageSource.h

stopImageStream

Strop the image stream

- (void)stopImageStream

Discussion

Strop the image stream

Declared In

VDARCameraImageSource.h