notifySurfaceAvailable

open fun notifySurfaceAvailable(surface: Any, width: Int, height: Int)

Notifies the video render thread that the surface is available.

Parameters

surface

reference to a android.view.SurfaceView or {android.view.TextureView

width

the width of the surface.

height

the height of the surface.