#include <media_stream_statistics.h>
|
| MediaStreamStatistics (std::chrono::microseconds windowSize=std::chrono::seconds(2), int maxDurationInFrames=0) |
|
void | setWindowSize (std::chrono::microseconds windowSize) |
|
void | setMaxDurationInFrames (int maxDurationInFrames) |
|
void | reset () |
|
void | onData (std::chrono::microseconds timestamp, size_t dataSize, bool isKeyFrame) |
|
int64_t | bitrateBitsPerSecond () const |
|
float | getFrameRate () const |
|
float | getAverageGopSize () const |
|
bool | hasMediaData () const |
|
This class calculates media stream bitrate, average frame rate and GOP size.
The documentation for this class was generated from the following files: