MillicastSDK 2.2.0
|
viewer level RTS statistics. Combines information from different areas to provide useful information to debug viewer performance. More...
#include <rts_stats.h>
Public Types | |
enum class | Level { FULL , SIMPLIFIED } |
Public Member Functions | |
RtsViewerStats ()=default | |
virtual std::string | to_json (Level level) const =0 |
get a json string of the viewer statistics. the keys are the same as the fields in this class and | |
virtual | ~RtsViewerStats ()=default |
Public Attributes | |
std::string | cluster_id |
std::string | stream_view_id |
std::string | subscriber_id |
std::string | stream_id |
int64_t | timestamp |
std::optional< double > | total_round_trip_time |
std::optional< double > | current_round_trip_time |
std::vector< std::shared_ptr< const RtsTrackStats > > | track_stats |
Protected Member Functions | |
RtsViewerStats (const RtsViewerStats &) noexcept=default | |
RtsViewerStats (RtsViewerStats &&) noexcept=default | |
RtsViewerStats & | operator= (RtsViewerStats &&) noexcept=default |
RtsViewerStats & | operator= (const RtsViewerStats &) noexcept=default |
viewer level RTS statistics. Combines information from different areas to provide useful information to debug viewer performance.
|
strong |
|
default |
|
virtualdefault |
|
protecteddefaultnoexcept |
|
protecteddefaultnoexcept |
|
protecteddefaultnoexcept |
|
protecteddefaultnoexcept |
|
nodiscardpure virtual |
get a json string of the viewer statistics. the keys are the same as the fields in this class and
level | The verbosity level of the json object. |
std::string millicast::RtsViewerStats::cluster_id |
std::optional<double> millicast::RtsViewerStats::current_round_trip_time |
std::string millicast::RtsViewerStats::stream_id |
std::string millicast::RtsViewerStats::stream_view_id |
std::string millicast::RtsViewerStats::subscriber_id |
int64_t millicast::RtsViewerStats::timestamp |
std::optional<double> millicast::RtsViewerStats::total_round_trip_time |
std::vector<std::shared_ptr<const RtsTrackStats> > millicast::RtsViewerStats::track_stats |