NERtc iOS SDK  V4.4.301
属性 | 所有成员列表
NERtcBaseVideoEncodeConfiguration类 参考

Local video basic publishing configuration 更多...

#import <NERtcEngineBase.h>

类 NERtcBaseVideoEncodeConfiguration 继承关系图:
NERtcVideoEncodeConfiguration NERtcVideoSubStreamEncodeConfiguration

属性

NERtcVideoProfileType maxProfile
 Indicates the resolution of video encoding, used to measure encoding quality. 更多...
 
NERtcVideoFrameRate frameRate
 The frame rate of the video encoding. 更多...
 
NSInteger minFrameRate
 The minimum frame rate for video encoding. 更多...
 
NSInteger bitrate
 The bitrate of video encoding in kbps. 更多...
 
NSInteger minBitrate
 The minimum bitrate of video encoding in kbps. 更多...
 

详细描述

Local video basic publishing configuration

属性说明

◆ bitrate

- (NSInteger) bitrate
readwritenonatomicassign

The bitrate of video encoding in kbps.

You can manually set the required bitrate based on your business requirements.

  • If the set video bit rate exceeds the reasonable range, the SDK will automatically process the bit rate according to the reasonable range.
  • If the bitrate is set to 0, the SDK computes and processes automatically.

◆ frameRate

- (NERtcVideoFrameRate) frameRate
readwritenonatomicassign

The frame rate of the video encoding.

For more information, see NERtcVideoFrameRate.

-When you use the bigstream, the frame rate is determined based on maxProfile by default.

  • maxProfile>= kNERtcVideoProfileStandard, frameRate = kNERtcVideoFrameRateFps30.
  • maxProfile< kNERtcVideoProfileStandard, frameRate = kNERtcVideoFrameRateFps15.

When you use the substream, frameRate is set to kNERtcVideoFrameRateFps7 by default.

◆ maxProfile

- (NERtcVideoProfileType) maxProfile
readwritenonatomicassign

Indicates the resolution of video encoding, used to measure encoding quality.

For more information, see NERtcVideoProfileType.

◆ minBitrate

- (NSInteger) minBitrate
readwritenonatomicassign

The minimum bitrate of video encoding in kbps.

You can manually set the required minimum bitrate based on your business requirements. If the bitrate is set to 0, the SDK computes and processes automatically.

◆ minFrameRate

- (NSInteger) minFrameRate
readwritenonatomicassign

The minimum frame rate for video encoding.

The default value is 0, which indicates that the minimum frame rate is used by default.


该类的文档由以下文件生成: