|
Agora Java API Reference for Android
|
The video streams for local video mixing. More...
#include <AgoraBase.h>
Public Attributes | |
| VIDEO_SOURCE_TYPE | sourceType |
| uid_t | remoteUserUid |
| const char * | imageUrl |
| int | mediaPlayerId |
| int | x |
| int | y |
| int | width |
| int | height |
| int | zOrder |
| double | alpha |
| bool | mirror |
The video streams for local video mixing.
| VIDEO_SOURCE_TYPE agora::rtc::TranscodingVideoStream::sourceType |
The video source type for local video mixing. See VIDEO_SOURCE_TYPE.
| uid_t agora::rtc::TranscodingVideoStream::remoteUserUid |
The user ID of the remote user.
VIDEO_SOURCE_REMOTE for local video mixing. | const char* agora::rtc::TranscodingVideoStream::imageUrl |
The file path of local images. Examples:
C:\\Users\\{username}\\Pictures\\image.png | int agora::rtc::TranscodingVideoStream::mediaPlayerId |
(Optional) Media player ID. Use the parameter only when you set sourceType to VIDEO_SOURCE_MEDIA_PLAYER.
| int agora::rtc::TranscodingVideoStream::x |
The relative lateral displacement of the top left corner of the video for local video mixing to the origin (the top left corner of the canvas).
| int agora::rtc::TranscodingVideoStream::y |
The relative longitudinal displacement of the top left corner of the captured video to the origin (the top left corner of the canvas).
| int agora::rtc::TranscodingVideoStream::width |
The width (px) of the video for local video mixing on the canvas.
| int agora::rtc::TranscodingVideoStream::height |
The height (px) of the video for local video mixing on the canvas.
| int agora::rtc::TranscodingVideoStream::zOrder |
The number of the layer to which the video for the local video mixing belongs. The value range is [0, 100].
| double agora::rtc::TranscodingVideoStream::alpha |
The transparency of the video for local video mixing. The value range is [0.0, 1.0]. 0.0 indicates that the video is completely transparent, and 1.0 indicates that it is opaque.
| bool agora::rtc::TranscodingVideoStream::mirror |
Whether to mirror the video for the local video mixing.
true: Mirror the video for the local video mixing.false: (Default) Do not mirror the video for the local video mixing.
1.8.18