|
Rialto 0.1
Rialto media pipeline API
|
A single playback metric event. More...
#include <MediaCommon.h>
Public Attributes | |
| MetricType | type {MetricType::VIDEO_FRAME_DROP} |
| MetricPhase | phase {MetricPhase::OCCURRENCE} |
| int32_t | sourceId {-1} |
| std::optional< int64_t > | presentationTimeStampNs |
| std::optional< uint64_t > | count |
| std::optional< uint64_t > | durationNs |
| uint64_t | observedAtMonotonicNs {0} |
| int64_t | observedAtUnixNs {0} |
A single playback metric event.
Optional fields that are absent are left as std::nullopt.
| std::optional<uint64_t> firebolt::rialto::MetricEvent::count |
Count associated with the event, if known
| std::optional<uint64_t> firebolt::rialto::MetricEvent::durationNs |
Duration in nanoseconds, if known
| uint64_t firebolt::rialto::MetricEvent::observedAtMonotonicNs {0} |
Monotonic time of observation in nanoseconds
| int64_t firebolt::rialto::MetricEvent::observedAtUnixNs {0} |
Unix time of observation in nanoseconds
| MetricPhase firebolt::rialto::MetricEvent::phase {MetricPhase::OCCURRENCE} |
The observation phase
| std::optional<int64_t> firebolt::rialto::MetricEvent::presentationTimeStampNs |
Presentation timestamp in nanoseconds, if known
| int32_t firebolt::rialto::MetricEvent::sourceId {-1} |
The source the metric belongs to
| MetricType firebolt::rialto::MetricEvent::type {MetricType::VIDEO_FRAME_DROP} |
The metric type