Agora RTC Objective-C API Reference  Refactor
Properties
AgoraScreenCaptureParameters Class Reference

Inherits <NSObject>.

Properties

CGSize dimensions
 
NSInteger frameRate
 
NSInteger bitrate
 

Detailed Description

The definition of the screen sharing encoding parameters.

Property Documentation

◆ dimensions

- (CGSize) dimensions
readwritenonatomicassign

The dimensions of the shared region in terms of width × height. The default value is 0, which means the original dimensions of the shared screen.

◆ frameRate

- (NSInteger) frameRate
readwritenonatomicassign

The frame rate (fps) of the shared region. The default value is 5. We do not recommend setting this to a value greater than 15.

◆ bitrate

- (NSInteger) bitrate
readwritenonatomicassign

The bitrate (Kbps) of the shared region. The default value is 0, which means the SDK works out a bitrate according to the dimensions of the current screen.