MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | List of all members
millicast::rtcstats::VideoSource Struct Reference

#include <stats.h>

Inheritance diagram for millicast::rtcstats::VideoSource:
Inheritance graph
[legend]
Collaboration diagram for millicast::rtcstats::VideoSource:
Collaboration graph
[legend]

Public Attributes

std::optional< unsigned long > width
 
std::optional< unsigned long > height
 
std::optional< unsigned long > frames
 
std::optional< double > frames_per_second
 
- Public Attributes inherited from millicast::rtcstats::MediaSource
std::string track_identifier
 
std::string kind
 
- Public Attributes inherited from millicast::rtcstats::Stats
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.
 

Static Public Attributes

static constexpr auto STYPE = Type::VIDEO_SOURCE
 
- Static Public Attributes inherited from millicast::rtcstats::MediaSource
static constexpr auto STYPE = Type::MEDIA_SOURCE
 

Additional Inherited Members

- Public Member Functions inherited from millicast::rtcstats::Stats
template<typename T >
const T * cast_to () const
 Cast the statistics to their true type. Make sure to use.
 
virtual ~Stats ()=default
 

Member Data Documentation

◆ frames

std::optional<unsigned long> millicast::rtcstats::VideoSource::frames

◆ frames_per_second

std::optional<double> millicast::rtcstats::VideoSource::frames_per_second

◆ height

std::optional<unsigned long> millicast::rtcstats::VideoSource::height

◆ STYPE

constexpr auto millicast::rtcstats::VideoSource::STYPE = Type::VIDEO_SOURCE
staticconstexpr

◆ width

std::optional<unsigned long> millicast::rtcstats::VideoSource::width

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