DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs
Public Member Functions | Static Public Attributes | List of all members
BandwidthEstimator Class Reference

Public Member Functions

 BandwidthEstimator (int num_blocks)
 
void AddBlock (uint64_t size, double duration)
 
uint64_t Estimate () const
 

Static Public Attributes

static const int kUseAllBlocks = 0
 

Detailed Description

Definition at line 15 of file bandwidth_estimator.h.

Constructor & Destructor Documentation

BandwidthEstimator::BandwidthEstimator ( int  num_blocks)
explicit
Parameters
num_blocksis the number of latest blocks to use. Negative values use first N blocks. 0 uses all.

Definition at line 16 of file bandwidth_estimator.cc.


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