Package io.rong.calllib

## Class CallVideoFrame

- All Implemented Interfaces:

      public class CallVideoFrame

  视频帧数据实体类

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public int` | `oesTextureId` |
    `public int` | `width` |
    `public int` | `height` |
    `public Array<byte>` | `data` |
    `public int` | `rotation` |
    `public long` | `timestamp` |
    `public Array<float>` | `transformMatrix` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CallVideoFrame()` |
    `CallVideoFrame(int oesTextureId, int width, int height, Array<byte> data)` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getOesTextureId()` | 纹理资源 id
    `void` | `setOesTextureId(int oesTextureId)` |
    `int` | `getWidth()` | 当前帧的宽度
    `void` | `setWidth(int width)` |
    `int` | `getHeight()` | 当前帧的高度
    `void` | `setHeight(int height)` |
    `Array<byte>` | `getData()` | YUV 数据
    `void` | `setData(Array<byte> data)` |
    `int` | `getRotation()` | 旋转角度
    `void` | `setRotation(int rotation)` |
    `long` | `getTimestamp()` | 时间戳
    `void` | `setTimestamp(long timestamp)` |
    `Array<float>` | `getTransformMatrix()` |
    `void` | `setTransformMatrix(Array<float> transformMatrix)` |
    `boolean` | `getCurrentCaptureDataType()` | 获取当前视频采集类型

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CallVideoFrame

          CallVideoFrame()

    - #### CallVideoFrame

          CallVideoFrame(int oesTextureId, int width, int height, Array<byte> data)

  - ### Method Detail

    - #### getOesTextureId

           int getOesTextureId()

      纹理资源 id

    - #### setOesTextureId

           void setOesTextureId(int oesTextureId)

    - #### getWidth

           int getWidth()

      当前帧的宽度

    - #### setWidth

           void setWidth(int width)

    - #### getHeight

           int getHeight()

      当前帧的高度

    - #### setHeight

           void setHeight(int height)

    - #### getData

           Array<byte> getData()

      YUV 数据

    - #### setData

           void setData(Array<byte> data)

    - #### getRotation

           int getRotation()

      旋转角度

    - #### setRotation

           void setRotation(int rotation)

    - #### getTimestamp

           long getTimestamp()

      时间戳

    - #### setTimestamp

           void setTimestamp(long timestamp)

    - #### getTransformMatrix

           Array<float> getTransformMatrix()

    - #### setTransformMatrix

           void setTransformMatrix(Array<float> transformMatrix)

    - #### getCurrentCaptureDataType

           boolean getCurrentCaptureDataType()

      获取当前视频采集类型

      Returns:

        true:texture方式采集 YUV 方式采集，