|
Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
Properties | |
| CGSize | dimensions |
| NSInteger | frameRate |
| NSInteger | bitrate |
| BOOL | captureMouseCursor |
| BOOL | windowFocus |
| NSArray *_Nullable | excludeWindowList |
| BOOL | highLighted |
| COLOR_CLASS *_Nullable | highLightColor |
| NSUInteger | highLightWidth |
|
readwritenonatomicassign |
The video encoding resolution of the screen sharing stream. If the screen dimensions are different from the value of this parameter, Agora applies the following strategies for encoding. Suppose dimensions is set to 1920 × 1080:
dimensions, for example, 1000 × 1000 pixels, the SDK uses the screen dimensions, that is, 1000 × 1000 pixels, for encoding.dimensions, for example, 2000 × 1500, the SDK uses the maximum value under dimensions with the aspect ratio of the screen dimension (4:3) for encoding, that is, 1440 × 1080.
|
readwritenonatomicassign |
The frame rate (fps) of the shared region. The default value is 5. Agora does not recommend setting this to a value greater than 15.
|
readwritenonatomicassign |
The bitrate (Kbps) of the shared region. The default value is 0 (the SDK works out a bitrate according to the dimensions of the current screen).
|
readwritenonatomicassign |
Whether to capture the mouse in screen sharing:
YES: (Default) Capture the mouse.NO: Do not capture the mouse. NO is ineffective during screen sharing (it has no impact when sharing a window).
|
readwritenonatomicassign |
Whether to bring the window to the front when calling the startScreenCaptureByWindowId:regionRect:captureParams: method to share it:
YES: Bring the window to the front.NO: (Default) Do not bring the window to the front.
|
readwritenonatomiccopy |
The ID list of the windows to be blocked. When calling startScreenCaptureByDisplayId:regionRect:captureParams: to start screen sharing, you can use this parameter to block a specified window. When calling updateScreenCaptureParameters: to update screen sharing configurations, you can use this parameter to dynamically block a specified window.
|
readwritenonatomicassign |
Whether to place a border around the shared window or screen:
YES: Place a border.NO: (Default) Do not place a border. YES.
|
readwritenonatomicstrong |
On macOS, COLOR_CLASS refers to NSColor.
|
readwritenonatomicassign |
The width (px) of the border. The default value is 5, and the value range is (0, 50].
highLighted is set to YES.
|
readwritenonatomicassign |