initRenderer

fun initRenderer(    videoRenderer: VideoTextureViewRenderer,     sessionId: String,     trackType: <Error class: unknown class>,     onRendered: (VideoTextureViewRenderer) -> Unit = {})

Perhaps it would be nicer to have an interface. Any UI elements that renders video should implement it

And call a callback for

  • visible/hidden

  • resolution changes