receive

abstract suspend fun receive(): VideoFrame?

Return

the next decoded frame, or null when more input is needed. The frame carries the generation the decoder was in when its packets were offered, which is the generation the last flush set.