MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
millicast::rtcstats::Stats Struct Reference

#include <stats.h>

Inheritance diagram for millicast::rtcstats::Stats:
Inheritance graph
[legend]

Public Member Functions

template<typename T >
const T * cast_to () const
 Cast the statistics to their true type. Make sure to use.
 
virtual ~Stats ()=default
 

Public Attributes

int64_t timestamp
 The timestamp in Milliseconds since Unix Epoch (Jan 1, 1970 00:00:00 UTC).
 
std::string id
 The WebRTC identifier for the statistics.
 
Type type
 Type of statistics.
 

Constructor & Destructor Documentation

◆ ~Stats()

virtual millicast::rtcstats::Stats::~Stats ( )
virtualdefault

Member Function Documentation

◆ cast_to()

template<typename T >
const T * millicast::rtcstats::Stats::cast_to ( ) const
inline

Cast the statistics to their true type. Make sure to use.

See also
Stats::Type.

Member Data Documentation

◆ id

std::string millicast::rtcstats::Stats::id

The WebRTC identifier for the statistics.

◆ timestamp

int64_t millicast::rtcstats::Stats::timestamp

The timestamp in Milliseconds since Unix Epoch (Jan 1, 1970 00:00:00 UTC).

◆ type

Type millicast::rtcstats::Stats::type

Type of statistics.


The documentation for this struct was generated from the following file: