Package io.rong.calllib

## Interface IVideoFrameListener

- All Implemented Interfaces:

      public interface IVideoFrameListener

  本地视频流数据监听

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract CallVideoFrame` | `processVideoFrame(CallVideoFrame videoFrame)` | 视频数据回调接口,用于开发者自定义美颜等的视频处理 回调线程名:Camera SurfaceTextureHelper ;
    `abstract void` | `onStart()` | SDK 通知开发者将要开始进行视频前处理，推荐在此回调中进行其他资源（比如美颜 SDK）的初始化
    `abstract void` | `onStop()` | SDK 通知开发者将要结束视频前处理，推荐在此回调中进行其他资源（比如美颜 SDK）的销毁。

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

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

- - ### Constructor Detail

  - ### Method Detail

    - #### processVideoFrame

           abstract CallVideoFrame processVideoFrame(CallVideoFrame videoFrame)

      视频数据回调接口,用于开发者自定义美颜等的视频处理 回调线程名:Camera SurfaceTextureHelper ;

      Returns:

        当使用 getOesTextureId 或getData 对视频数据处理完之后，需要再设置给RTCVideoFrame 对象并返回， 设置方式：setOesTextureId 或 setData

    - #### onStart

           abstract void onStart()

      SDK 通知开发者将要开始进行视频前处理，推荐在此回调中进行其他资源（比如美颜 SDK）的初始化

    - #### onStop

           abstract void onStop()

      SDK 通知开发者将要结束视频前处理，推荐在此回调中进行其他资源（比如美颜 SDK）的销毁。