webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
webrtc::StreamDataCounters Struct Reference

#include <common_types.h>

Public Member Functions

 StreamDataCounters ()
 
void Add (const StreamDataCounters &other)
 
void Subtract (const StreamDataCounters &other)
 
int64_t TimeSinceFirstPacketInMs (int64_t now_ms) const
 
size_t MediaPayloadBytes () const
 
 StreamDataCounters ()
 
void Add (const StreamDataCounters &other)
 
void Subtract (const StreamDataCounters &other)
 
int64_t TimeSinceFirstPacketInMs (int64_t now_ms) const
 
size_t MediaPayloadBytes () const
 

Public Attributes

int64_t first_packet_time_ms
 
RtpPacketCounter transmitted
 
RtpPacketCounter retransmitted
 
RtpPacketCounter fec
 

Constructor & Destructor Documentation

◆ StreamDataCounters() [1/2]

webrtc::StreamDataCounters::StreamDataCounters ( )

◆ StreamDataCounters() [2/2]

webrtc::StreamDataCounters::StreamDataCounters ( )

Member Function Documentation

◆ Add() [1/2]

void webrtc::StreamDataCounters::Add ( const StreamDataCounters other)
inline

◆ Add() [2/2]

void webrtc::StreamDataCounters::Add ( const StreamDataCounters other)
inline

◆ MediaPayloadBytes() [1/2]

size_t webrtc::StreamDataCounters::MediaPayloadBytes ( ) const
inline

◆ MediaPayloadBytes() [2/2]

size_t webrtc::StreamDataCounters::MediaPayloadBytes ( ) const
inline

◆ Subtract() [1/2]

void webrtc::StreamDataCounters::Subtract ( const StreamDataCounters other)
inline

◆ Subtract() [2/2]

void webrtc::StreamDataCounters::Subtract ( const StreamDataCounters other)
inline

◆ TimeSinceFirstPacketInMs() [1/2]

int64_t webrtc::StreamDataCounters::TimeSinceFirstPacketInMs ( int64_t  now_ms) const
inline

◆ TimeSinceFirstPacketInMs() [2/2]

int64_t webrtc::StreamDataCounters::TimeSinceFirstPacketInMs ( int64_t  now_ms) const
inline

Member Data Documentation

◆ fec

RtpPacketCounter webrtc::StreamDataCounters::fec

◆ first_packet_time_ms

int64_t webrtc::StreamDataCounters::first_packet_time_ms

◆ retransmitted

RtpPacketCounter webrtc::StreamDataCounters::retransmitted

◆ transmitted

RtpPacketCounter webrtc::StreamDataCounters::transmitted

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