VDARCameraImageSource Class Reference
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
-
imageReceiver
The receiver of the camera frames
property -
frameRate
The frame rate of the camera.
property -
running
Indicate whether or not the camera is running and capturing frames.
property -
cameraImageSource
URL pointing to a valid JPG image used to display in the simulator. By default it’s a beatles image.
property -
cameraDevice
Access to the camera object used to produce frames
property -
– startImageStream
Start the image stream
-
– stopImageStream
Strop the image stream
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