Video SDK for MacOS API Reference
Loading...
Searching...
No Matches
ZMVideoSDKPreferenceSetting Class Reference

Video preference interface. When setting custom modes, the maximum and minimum frame rates are provided by the developer. If the current bandwidth cannot maintain the minimum frame rate, the video system will drop to the next lower resolution. The default maximum and minimum frame rates for other modes are 0. More...

#import <ZMVideoSDKVideoHelper.h>

Inherits NSObject.

Properties

ZMVideoSDKVideoPreferenceMode mode
 Preferred video mode.
 
unsigned int minimumFrameRate
 Minimum frame rate, default is 0.
 
unsigned int maximumFrameRate
 Maximum frame rate, default is 0.
 

Detailed Description

Video preference interface. When setting custom modes, the maximum and minimum frame rates are provided by the developer. If the current bandwidth cannot maintain the minimum frame rate, the video system will drop to the next lower resolution. The default maximum and minimum frame rates for other modes are 0.

Definition at line 69 of file ZMVideoSDKVideoHelper.h.

Property Documentation

◆ maximumFrameRate

- (unsigned int) maximumFrameRate
readwritenonatomicassign

Maximum frame rate, default is 0.

Note
The value of maximumFrameRate should be less and equal than 30, the value of maximumFrameRate range from 0 to 30. If the frame rate out of range, will use default frame-rate of Zoom.

Definition at line 85 of file ZMVideoSDKVideoHelper.h.

◆ minimumFrameRate

- (unsigned int) minimumFrameRate
readwritenonatomicassign

Minimum frame rate, default is 0.

Note
The value of minimumFrameRate should be less than maximumFrameRate, the value of minimumFrameRate range from 0 to 30. If the frame rate out of range, will use default frame-rate of Zoom.

Definition at line 79 of file ZMVideoSDKVideoHelper.h.

◆ mode

- (ZMVideoSDKVideoPreferenceMode) mode
readwritenonatomicassign

Preferred video mode.

Definition at line 73 of file ZMVideoSDKVideoHelper.h.