Class VideoTextureProvider

java.lang.Object
com.banuba.renderer.VideoTextureProvider
All Implemented Interfaces:
android.graphics.SurfaceTexture.OnFrameAvailableListener

public class VideoTextureProvider extends Object implements android.graphics.SurfaceTexture.OnFrameAvailableListener
  • Constructor Details

    • VideoTextureProvider

      public VideoTextureProvider()
  • Method Details

    • createSurfaceTexture

      public android.view.Surface createSurfaceTexture(int glTexture)
    • removeSurfaceTexture

      public void removeSurfaceTexture()
    • update

      public void update()
    • isReadyOnGPU

      public boolean isReadyOnGPU()
    • checkValidAll

      public static boolean checkValidAll()
    • onFrameAvailable

      public void onFrameAvailable(android.graphics.SurfaceTexture surfaceTexture)
      Specified by:
      onFrameAvailable in interface android.graphics.SurfaceTexture.OnFrameAvailableListener