|
Agora RTC Objective-C API Reference
Refactor
|
|
inline |
|
inline |
|
inline |
|
inline |
| uid_t uid |
User ID that publishes the video source.
| uid_t subviewUid |
The ID of the user who publishes a specific sub-video stream within the mixed video stream.
| view_t view |
The video display window.
VideoCanvas, you can only choose to set either view or surfaceTexture. If both are set, only the settings in view take effect. | uint32_t backgroundColor |
The background color of the video canvas in RGBA format. The default value is 0x00000000, which represents black.
| media::base::RENDER_MODE_TYPE renderMode |
The rendering mode of the video. See RENDER_MODE_TYPE.
| VIDEO_MIRROR_MODE_TYPE mirrorMode |
The mirror mode of the view. See VIDEO_MIRROR_MODE_TYPE.
| VIDEO_VIEW_SETUP_MODE setupMode |
Setting mode of the view. See VIDEO_VIEW_SETUP_MODE.
| VIDEO_SOURCE_TYPE sourceType |
The type of the video source. See VIDEO_SOURCE_TYPE.
| int mediaPlayerId |
The ID of the media player. You can get the Device ID by calling getMediaPlayerId.
| Rectangle cropArea |
| bool enableAlphaMask |
(Optional) Whether to enable alpha mask rendering:
true: Enable alpha mask rendering.false: (Default) Disable alpha mask rendering. Alpha mask rendering can create images with transparent effects and extract portraits from videos. When used in combination with other methods, you can implement effects such as portrait-in-picture and watermarking. technical support. | media::base::VIDEO_MODULE_POSITION position |
The observation position of the video frame in the video link. See VIDEO_MODULE_POSITION.