Agora Java API Reference for Android
Public Member Functions | List of all members
io.agora.rtc.mediaio.SurfaceTextureHelper.OnTextureFrameAvailableListener Interface Reference
Inheritance diagram for io.agora.rtc.mediaio.SurfaceTextureHelper.OnTextureFrameAvailableListener:
io.agora.rtc.mediaio.TextureSource io.agora.rtc.mediaio.AgoraTextureCamera

Public Member Functions

abstract void onTextureFrameAvailable (int oesTextureId, float[] transformMatrix, long timestampNs)
 

Detailed Description

Callback interface for being notified that a new texture frame is available. The calls will be made on the SurfaceTextureHelper handler thread, with a bound EGLContext. The callee is not allowed to make another EGLContext current on the calling thread.