acquireSurface

fun acquireSurface(): Surface?

Acquire a surface to render on, which can be used to render video by android media player.

Return

the surface to render on if the surface is valid, otherwise null.