Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
metrics.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Roc Streaming authors
3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 */
8
9//! @file roc_pipeline/metrics.h
10//! @brief Pipeline metrics.
11
12#ifndef ROC_PIPELINE_METRICS_H_
13#define ROC_PIPELINE_METRICS_H_
14
16#include "roc_core/stddefs.h"
18#include "roc_packet/units.h"
19
20namespace roc {
21namespace pipeline {
22
23//! Sender-side metrics specific to one participant (remote receiver).
25 //! Link metrics.
27
28 //! Latency metrics.
30
32 }
33};
34
35//! Sender-side metrics of the whole slot.
37 //! Slot source ID.
39
40 //! Number of participants (remote receivers) connected to slot.
42
43 //! Is slot configuration complete (all endpoints bound).
45
47 : source_id(0)
49 , is_complete(false) {
50 }
51};
52
53//! Receiver-side metrics specific to one participant (remote sender).
55 //! Link metrics.
57
58 //! Latency metrics.
60
62 }
63};
64
65//! Receiver-side metrics of the whole slot.
67 //! Slot source ID.
69
70 //! Number of participants (remote senders) connected to slot.
72
74 : source_id(0)
75 , num_participants(0) {
76 }
77};
78
79} // namespace pipeline
80} // namespace roc
81
82#endif // ROC_PIPELINE_METRICS_H_
Latency tuner.
uint32_t stream_source_t
Packet stream identifier.
Definition units.h:27
Root namespace.
Commonly used types and functions.
Latency-related metrics.
Receiver-side metrics specific to one participant (remote sender).
Definition metrics.h:54
packet::LinkMetrics link
Link metrics.
Definition metrics.h:56
audio::LatencyMetrics latency
Latency metrics.
Definition metrics.h:59
Receiver-side metrics of the whole slot.
Definition metrics.h:66
packet::stream_source_t source_id
Slot source ID.
Definition metrics.h:68
size_t num_participants
Number of participants (remote senders) connected to slot.
Definition metrics.h:71
Sender-side metrics specific to one participant (remote receiver).
Definition metrics.h:24
packet::LinkMetrics link
Link metrics.
Definition metrics.h:26
audio::LatencyMetrics latency
Latency metrics.
Definition metrics.h:29
Sender-side metrics of the whole slot.
Definition metrics.h:36
size_t num_participants
Number of participants (remote receivers) connected to slot.
Definition metrics.h:41
packet::stream_source_t source_id
Slot source ID.
Definition metrics.h:38
bool is_complete
Is slot configuration complete (all endpoints bound).
Definition metrics.h:44
Various units used in packets.