Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::CongestionControl Class Reference

#include <congestion_control.h>

Collaboration diagram for jami::CongestionControl:
Collaboration graph

Public Member Functions

 CongestionControl ()
 
std::vector< uint8_tcreateREMB (uint64_t bitrate_bps)
 
BandwidthUsage get_bw_state (float estimation, float thresh)
 
float get_thresh ()
 
float kalmanFilter (uint64_t gradiant_delay)
 
uint64_t parseREMB (const rtcpREMBHeader &packet)
 
float update_thresh (float m, int deltaT)
 
 ~CongestionControl ()
 

Detailed Description

Definition at line 31 of file congestion_control.h.

Constructor & Destructor Documentation

◆ CongestionControl()

jami::CongestionControl::CongestionControl ( )

Definition at line 58 of file congestion_control.cpp.

◆ ~CongestionControl()

jami::CongestionControl::~CongestionControl ( )

Definition at line 60 of file congestion_control.cpp.

Member Function Documentation

◆ createREMB()

std::vector< uint8_t > jami::CongestionControl::createREMB ( uint64_t  bitrate_bps)

Definition at line 95 of file congestion_control.cpp.

References jami::emitSignal(), jami::insert2Byte(), jami::insert4Byte(), jami::packetFMT, jami::packetType, jami::packetVersion, and jami::uniqueIdentifier.

Here is the call graph for this function:

◆ get_bw_state()

BandwidthUsage jami::CongestionControl::get_bw_state ( float  estimation,
float  thresh 
)

Definition at line 193 of file congestion_control.cpp.

References jami::bwNormal, jami::bwOverusing, jami::bwUnderusing, jami::emitSignal(), and jami::OVERUSE_THRESH.

Here is the call graph for this function:

◆ get_thresh()

float jami::CongestionControl::get_thresh ( )

Definition at line 187 of file congestion_control.cpp.

◆ kalmanFilter()

float jami::CongestionControl::kalmanFilter ( uint64_t  gradiant_delay)

Definition at line 124 of file congestion_control.cpp.

References jami::emitSignal(), and jami::Q.

Here is the call graph for this function:

◆ parseREMB()

uint64_t jami::CongestionControl::parseREMB ( const rtcpREMBHeader packet)

◆ update_thresh()

float jami::CongestionControl::update_thresh ( float  m,
int  deltaT 
)

Definition at line 174 of file congestion_control.cpp.

References jami::emitSignal(), jami::kd, and jami::ku.

Here is the call graph for this function:

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