MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
millicast::BitrateSettings Struct Reference

Allows setting the desired minimum and/or maximum bitrates when publishing a stream. You can also use disable_bwe to disable the internal bandwidth estimation and utilise the maximum bitrate provided as the sending bitrate. More...

#include <client.h>

Public Attributes

bool disable_bwe {true}
 
std::optional< int > min_bitrate_kbps
 
std::optional< int > max_bitrate_kbps
 

Detailed Description

Allows setting the desired minimum and/or maximum bitrates when publishing a stream. You can also use disable_bwe to disable the internal bandwidth estimation and utilise the maximum bitrate provided as the sending bitrate.

Remarks
setting the minimum bitrate to a high value may result in inconsistent streams. Consider your network bandwidth as a factor.
An exception will be thrown if disabling bandwidth estimation is set without setting the maximum bitrate.

Member Data Documentation

◆ disable_bwe

bool millicast::BitrateSettings::disable_bwe {true}

◆ max_bitrate_kbps

std::optional<int> millicast::BitrateSettings::max_bitrate_kbps

◆ min_bitrate_kbps

std::optional<int> millicast::BitrateSettings::min_bitrate_kbps

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