9#import <Foundation/Foundation.h>
10#import <AVFoundation/AVFoundation.h>
11#import "R5VideoSource.h"
12#import "R5AudioController.h"
19@property CMSampleBufferRef currentSampleBuffer;
21@property (nonatomic) AVCaptureDevice *device;
31-(id)initWithDevice:(AVCaptureDevice*)device andBitRate:(
int)bitRate;
40typedef void (^AudioModHandle)(NSMutableData*, double);
52@property AudioModHandle processData;
61-(id)initWithDevice:(AVCaptureDevice*)device;
Controller Object for R5Stream and R5Microphones. A shared instance is used unless otherwise defined ...
Definition: R5AudioController.h:28
R5Camera encapsulates an AVCaptureDevice and provides video data to the R5Stream for publishing.
Definition: R5Camera.h:18
R5Microphone encapsulates an AVCaptureDevice and provides data to the R5Stream for publishing.
Definition: R5Camera.h:46
int bitrate
bitrate in kbps
Definition: R5Camera.h:50
int sampleRate
sample rate to capture
Definition: R5Camera.h:48
int channels
number of channels to capture
Definition: R5Camera.h:49
R5AudioController * audioController
Audio Controller for recording. Defaults to shared instance.
Definition: R5Camera.h:51
AVCaptureDevice * device
Input device.
Definition: R5Camera.h:47
The video source provides all video frames to the encoder for transmission over the socket.
Definition: R5VideoSource.h:24