onResized

fun onResized(width: Int, height: Int)

Called when the player surface is resized. Debounces rapid events and asks the native layer to decode at the surface size instead of native resolution, saving significant memory for high-resolution video.