![]() |
Red5Pro IOS Client SDK10.0.0Core SDK for IOS
|
R5Camera encapsulates an AVCaptureDevice and provides video data to the R5Stream for publishing. More...
#import <R5Camera.h>
Inherits R5VideoSource.
Instance Methods | |
(id) | - initWithDevice:andBitRate: |
![]() | |
(void) | - startVideoCapture |
(void) | - stopVideoCapture |
(void) | - encodeWithBlock:onParams: |
(void) | - attatchRecorder: |
(void) | - detatchRecorder |
(NSDictionary *) | - getSourceProperties |
(void) | - configureSession: |
(void) | - releaseSession: |
(void) | - updateEncoder |
Properties | |
CMSampleBufferRef | currentSampleBuffer |
AVCaptureDevice * | device |
![]() | |
int | width |
Desired width of the video source (subject to hardware) | |
int | height |
Desired height of the video source (subject to hardware) | |
int | bitrate |
Bitrate in kbps of the video stream. | |
int | orientation |
Orientation of presentation. More... | |
int | fps |
Frame rate to record at. | |
AVEncoder * | encoder |
Hardware encoder set by the VideoSource. Pass frames to the encoder to continue to socket. | |
FileWriter * | writer |
BOOL | adaptiveBitRate |
AVCaptureVideoDataOutput * | output |
Output path for the encoded data. | |
- (id) initWithDevice: | (AVCaptureDevice *) | device | |
andBitRate: | (int) | bitRate | |
Initialize the camera with device and bitrate
device | device to capture data from |
bitRate | bits in kbps to stream the data |