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
The video streams for the video mixing on the local client.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
    The transparency of the video for the video mixing on the local client.
    int
    The height (px) of the video for the video mixing on the local client.
    The URL of the image.
    int
    MediaPlayer id if sourceType is MEDIA_PLAYER_SOURCE.
    boolean
    Whether to mirror the video for the video mixing on the local client.
    int
    The ID of the remote user.
    The source type of video for the video mixing on the local client.
    int
    The width (px) of the video for the video mixing on the local client.
    int
    The 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.
    int
    The 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.
    int
    The number of the layer to which the video for the video mixing on the local client 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 ID of the remote user.
    • sourceType

      public Constants.VideoSourceType sourceType
      The source type of video for the video mixing on the local client. See #VIDEO_SOURCE_TYPE.
    • imageUrl

      public String imageUrl
      The URL of the image.
    • mediaPlayerId

      public int mediaPlayerId
      MediaPlayer id if sourceType is MEDIA_PLAYER_SOURCE.
    • x

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

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

      public int zOrder
      The 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 alpha
      The 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 mirror
      Whether to mirror the video for the video mixing on the local client. - true: Mirroring. - false: (Default) Do not mirror.
  • Constructor Details

    • TranscodingVideoStream

      public TranscodingVideoStream()