CjVideoCapture
Instance Methods | Properties | List of all members
CjVideoCapture Class Reference
Inheritance diagram for CjVideoCapture:

Instance Methods

(id) - initWithResolution:
 Initialize and specify resolution to use. More...
 
(void) - start
 Start capturing video.
 
(void) - stop
 Stop capturing video.
 
(void) - changeToResolution:
 Switch resolution. More...
 
(void) - setPreviewView:
 Specify view to display a live preview of captured video. More...
 

Properties

id< CjVideoCaptureDelegatedelegate
 

Method Documentation

◆ changeToResolution:()

- (void) changeToResolution: (Resolution resolution

Switch resolution.

Parameters
resolutionThe resolution to switch to.
Note
This is meant to be used for variable bitrate. When the network conditions are not good enough to stream the resolution used on initialization, downsize the resolution with this function in order to reduce the required bitrate. Alternatively upsize the resolution if the network can handle it.

◆ initWithResolution:()

- (id) initWithResolution: (Resolution resolution

Initialize and specify resolution to use.

Parameters
resolutionThe resolution of the video to be captured.

◆ setPreviewView:()

- (void) setPreviewView: (UIView *)  view

Specify view to display a live preview of captured video.

Parameters
viewThe view where preview is to be displayed.

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