notifySurfaceChanged

open fun notifySurfaceChanged(surface: Surface, width: Int, height: Int)

Notifies the video render thread that the surface has changed.

Parameters

surface

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

width

the new width of the surface.

height

the new height of the surface.