Package io.agora.rtc2
Class LocalTranscoderConfiguration.TranscodingVideoStream
java.lang.Object
io.agora.rtc2.LocalTranscoderConfiguration.TranscodingVideoStream
- Enclosing class:
- LocalTranscoderConfiguration
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleThe transparency of the video for local video mixing.intThe height (px) of the video for local video mixing on the canvas.The file path of local images.int(Optional) Media player ID.booleanWhether to mirror the video for the local video mixing.intThe user ID of the remote user.The video source type for local video mixing.intThe width (px) of the video for local video mixing on the canvas.intThe 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).intThe relative longitudinal displacement of the top left corner of the captured video to the origin (the top left corner of the canvas).intThe number of the layer to which the video for the local video mixing belongs. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
remoteUserUid
public int remoteUserUidThe user ID of the remote user. -
sourceType
The video source type for local video mixing. See `VideoSourceType`. -
imageUrl
The file path of local images. Examples: - Android: `/storage/emulated/0/Pictures/image.png` -
mediaPlayerId
public int mediaPlayerId(Optional) Media player ID. Use the parameter only when you set `sourceType` to `VIDEO_SOURCE_MEDIA_PLAYER`. -
x
public int xThe 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). -
y
public int yThe relative longitudinal displacement of the top left corner of the captured video to the origin (the top left corner of the canvas). -
width
public int widthThe width (px) of the video for local video mixing on the canvas. -
height
public int heightThe height (px) of the video for local video mixing on the canvas. -
zOrder
public int zOrderThe number of the layer to which the video for the local video mixing 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 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. -
mirror
public boolean mirrorWhether 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.
-
-
Constructor Details
-
TranscodingVideoStream
public TranscodingVideoStream()
-