Package io.agora.rtc2

Class LocalTranscoderConfiguration.TranscodingVideoStream

java.lang.Object
io.agora.rtc2.LocalTranscoderConfiguration.TranscodingVideoStream
Enclosing class:
LocalTranscoderConfiguration

public static class LocalTranscoderConfiguration.TranscodingVideoStream extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
    The transparency of the video for local video mixing.
    int
    The height (px) of the video for local video mixing on the canvas.
    The file path of local images.
    int
    (Optional) Media player ID.
    boolean
    Whether to mirror the video for the local video mixing.
    int
    The user ID of the remote user.
    The video source type for local video mixing.
    int
    The width (px) of the video for local video mixing on the canvas.
    int
    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
    The relative longitudinal displacement of the top left corner of the captured video to the origin (the top left corner of the canvas).
    int
    The number of the layer to which the video for the local video mixing belongs.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • remoteUserUid

      public int remoteUserUid
      The user ID of the remote user.
    • sourceType

      public Constants.VideoSourceType sourceType
      The video source type for local video mixing. See `VideoSourceType`.
    • imageUrl

      public String 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 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).
    • y

      public int y
      The 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 width
      The width (px) of the video for local video mixing on the canvas.
    • height

      public int height
      The height (px) of the video for local video mixing on the canvas.
    • zOrder

      public int zOrder
      The 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 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.
    • mirror

      public boolean 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.
  • Constructor Details

    • TranscodingVideoStream

      public TranscodingVideoStream()