watchFrames

open fun watchFrames(onFrame: (Double) -> Unit): () -> Unit?

Calls onFrame with the presentation time (seconds) of each video frame about to be shown, on the main thread, until the returned function is called. Null when the player cannot report frames; the SDK then uses a timer for the pre-marker trigger.