frameIndex property

int frameIndex
final

0-based sequence number of this frame within the encoder's lifetime (since construction or last Vp8Encoder.reset). Dropped frames do NOT advance this counter, so consecutive emitted frames are always contiguous (prev.frameIndex + 1).

Implementation

final int frameIndex;