zdk.objc
|
Video endpoint's main entry point. More...
#import <ZDKVideoEndpointControl.h>
Instance Methods | |
(id< ZDKResult >) | - setFormat:height:fps: |
Configures the used video format. More... | |
(id< ZDKResult >) | - setBitrate: |
Configures the video encoder's bitrate. More... | |
(id< ZDKResult >) | - startCapture: |
Starts the video capture. More... | |
(id< ZDKResult >) | - stopCapture |
Stops the video capture. More... | |
(id< ZDKResult >) | - toggleCamera |
Toggles the camera. More... | |
(id< ZDKResult >) | - restartCamera |
Restarts the camera. More... | |
(ZDKCameraSensorLocation) | - getCameraLocation |
Gets the used camera location. More... | |
(NSString *) | - handlesDescription |
![]() | |
(long int) | - handle |
(void) | - initialize |
(void) | - releaseReference |
(NSString *) | - handlesDescription |
Video endpoint's main entry point.
Entry point for controlling the video endpoint
- (ZDKCameraSensorLocation) getCameraLocation |
Gets the used camera location.
Not implemented!
- (NSString *) handlesDescription |
Reimplemented from <ZDKZHandle>.
- (id< ZDKResult >) restartCamera |
- (id< ZDKResult >) setBitrate: | (int) | value |
Configures the video encoder's bitrate.
Configures the video encoder's output bitrate in bits per second. This function along with setFormat() will affect all video calls. Because the frames come outside of this library if the frame rate is not as configured the resulting bit rate can differ greatly. Example: if the library's video encoder is configured for 128000 bps for a video format of 352x288 and 5 fps, but the frames actually come at 10fps the resulting bitrate will be 256000 bps.
[in] | value | The bitrate of the encoder in bits per second |
- (id< ZDKResult >) setFormat: | (int) | width | |
height: | (int) | height | |
fps: | (float) | fps | |
Configures the used video format.
Configures the format used for negotiating video calls and actual camera capture/sending.
Most codecs have limitations regarding the frame dimensions. CIF formats are always supported.
When the format is negotiated with remote peer, the zdkCallEventsHandler.onVideoFormatSelected() callback will be called.
[in] | width | Width of the video frame in pixels |
[in] | height | Height of the video frame in pixels |
[in] | fps | Frames per second of the video stream |
- (id< ZDKResult >) startCapture: | (BOOL) | hwdAcceleration |
Starts the video capture.
Not implemented!
[in] | hwdAcceleration | Indicator whether the hardware accelerator to be used if available |
- (id< ZDKResult >) stopCapture |
- (id< ZDKResult >) toggleCamera |