Package io.agora.rtc2
Class LocalTranscoderConfiguration.TranscodingVideoStream
java.lang.Object
io.agora.rtc2.LocalTranscoderConfiguration.TranscodingVideoStream
- Enclosing class:
- LocalTranscoderConfiguration
The video streams for the video mixing on the local client.
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleThe transparency of the video for the video mixing on the local client.intThe height (px) of the video for the video mixing on the local client.The URL of the image.intMediaPlayer id if sourceType is MEDIA_PLAYER_SOURCE.booleanWhether to mirror the video for the video mixing on the local client.intThe ID of the remote user.The source type of video for the video mixing on the local client.intThe width (px) of the video for the video mixing on the local client.intThe horizontal displacement of the top-left corner of the video for the video mixing on the client relative to the top-left corner (origin) of the canvas for this video mixing.intThe vertical displacement of the top-left corner of the video for the video mixing on the client relative to the top-left corner (origin) of the canvas for this video mixing.intThe number of the layer to which the video for the video mixing on the local client belongs. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
remoteUserUid
public int remoteUserUidThe ID of the remote user. -
sourceType
The source type of video for the video mixing on the local client. See #VIDEO_SOURCE_TYPE. -
imageUrl
The URL of the image. -
mediaPlayerId
public int mediaPlayerIdMediaPlayer id if sourceType is MEDIA_PLAYER_SOURCE. -
x
public int xThe horizontal displacement of the top-left corner of the video for the video mixing on the client relative to the top-left corner (origin) of the canvas for this video mixing. -
y
public int yThe vertical displacement of the top-left corner of the video for the video mixing on the client relative to the top-left corner (origin) of the canvas for this video mixing. -
width
public int widthThe width (px) of the video for the video mixing on the local client. -
height
public int heightThe height (px) of the video for the video mixing on the local client. -
zOrder
public int zOrderThe number of the layer to which the video for the video mixing on the local client belongs. The value range is [0,100]. - 0: (Default) The layer is at the bottom. - 100: The layer is at the top. -
alpha
public double alphaThe transparency of the video for the video mixing on the local client. The value range is [0.0,1.0]. 0.0 means the transparency is completely transparent. 1.0 means the transparency is opaque. -
mirror
public boolean mirrorWhether to mirror the video for the video mixing on the local client. - true: Mirroring. - false: (Default) Do not mirror.
-
-
Constructor Details
-
TranscodingVideoStream
public TranscodingVideoStream()
-