OptrisOptrisDocumentation

Documentation/OTC SDK/OTC SDK — C API referencev12.0

optris_sdk_session_playback_stats

What a playback run did.

Call optris_sdk_session_playback_stats_init() first.

Public attributes

struct_size

uint32_t struct_size

Set to sizeof(optris_sdk_session_playback_stats).

reserved0

uint32_t reserved0

Padding. Set to zero.

frames_delivered

uint64_t frames_delivered

Frames handed to the callbacks.

decode_errors

uint64_t decode_errors

Frames the decoder refused. A truncated file produces these.

frames_late

uint64_t frames_late

Frames delivered more than one frame period after the session time they were due.

A session player has no queue and therefore cannot lose a frame -- delivery is synchronous. It can be late, and late is what "dropped" would have been if it had one.

max_lateness_us

uint64_t max_lateness_us

The worst lateness observed, in microseconds.