AndroidPlayerViewRenderer
A renderer that can follow the SurfaceView owned by KitePlayerView.
The view owns the android.view.Surface and the renderer must not release it. Passing null fences use of the previous Surface with a bounded wait; an unfinished draw must be reported as a failure. Every call comes from the main thread, so an implementation must never wait on work that needs that thread, and should not wait at all for a non-null Surface.
The view gives the size of its subtitle layer through setViewport. Report that size as outputSize, so the engine lays the subtitles out for the layer: docs/subtitle-placement.md.
Properties
Frames that could not be displayed for a reason other than supersession.
Frames that reached the platform display.
Frames replaced by a newer frame before they reached the display.
Functions
What the display this view sits on can show of HDR, fed by the view: the Display.HdrCapabilities types it supports, such as HDR_TYPE_HDR10 and HDR_TYPE_HLG, and how far beyond standard white it goes now, or 1 when unknown. Default: ignored, for renderers that report nothing about HDR.
The refresh rate of the display this view sits on, fed by the view because a Surface does not know its display. 0 means unknown. Default: ignored, for renderers that do not pace.