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

#include <stats.h>

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

Public Types

enum class  Type { ENCODE , DECODE }
 

Public Attributes

unsigned long payload_type
 
std::string transport_id
 
std::string mime_type
 
std::optional< Typecodec_type
 
std::optional< unsigned long > clock_rate
 
std::optional< unsigned long > channels
 
std::optional< std::string > sdp_fmtp_line
 
- 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 = ::millicast::rtcstats::Type::CODEC
 

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 Enumeration Documentation

◆ Type

Enumerator
ENCODE 
DECODE 

Member Data Documentation

◆ channels

std::optional<unsigned long> millicast::rtcstats::Codecs::channels

◆ clock_rate

std::optional<unsigned long> millicast::rtcstats::Codecs::clock_rate

◆ codec_type

std::optional<Type> millicast::rtcstats::Codecs::codec_type

◆ mime_type

std::string millicast::rtcstats::Codecs::mime_type

◆ payload_type

unsigned long millicast::rtcstats::Codecs::payload_type

◆ sdp_fmtp_line

std::optional<std::string> millicast::rtcstats::Codecs::sdp_fmtp_line

◆ STYPE

constexpr auto millicast::rtcstats::Codecs::STYPE = ::millicast::rtcstats::Type::CODEC
staticconstexpr

◆ transport_id

std::string millicast::rtcstats::Codecs::transport_id

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