Package io.agora.rtc2

Class IRtcEngineEventHandler.VideoLayout

java.lang.Object
io.agora.rtc2.IRtcEngineEventHandler.VideoLayout
Enclosing class:
IRtcEngineEventHandler

public static class IRtcEngineEventHandler.VideoLayout extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The channel name to which the sub-video stream belongs.
    int
    Heitht (px) of the sub-video stream.
    Reserved for future use.
    int
    User ID who published this sub-video stream.
    int
    Status of the sub-video stream on the video mixing canvas.
    int
    Width (px) of the sub-video stream.
    int
    X-coordinate (px) of the sub-video stream on the mixing canvas.
    int
    Y-coordinate (px) of the sub-video stream on the mixing canvas.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class java.lang.Object

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

    • channelId

      public String channelId
      The channel name to which the sub-video stream belongs.
    • uid

      public int uid
      User ID who published this sub-video stream.
    • strUid

      public String strUid
      Reserved for future use.
    • videoState

      public int videoState
      Status of the sub-video stream on the video mixing canvas. - 0: Normal. The sub-video stream has been rendered onto the mixing canvas. - 1: Placeholder image. The sub-video stream has no video frames and is displayed as a placeholder on the mixing canvas. - 2: Black image. The sub-video stream is replaced by a black image.
    • x

      public int x
      X-coordinate (px) of the sub-video stream on the mixing canvas. The relative lateral displacement of the top left corner of the video for video mixing to the origin (the top left corner of the canvas).
    • y

      public int y
      Y-coordinate (px) of the sub-video stream on the mixing canvas. 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
      Width (px) of the sub-video stream.
    • height

      public int height
      Heitht (px) of the sub-video stream.
  • Constructor Details

    • VideoLayout

      public VideoLayout()
  • Method Details