Commit e859f98c authored by Pierre Lespagnol's avatar Pierre Lespagnol Committed by Adrien Béraud

autoadapt: improve algorithm parameters

- Reduce time during bitrate increase (to reach bandwidth limit faster)
- Increase the default bitrate value from 600 kbit/s to 800 kbit/s
- Increase maximum bitrate value from 3 Mbit/s to 6 Mbit/s (needed for high resolution, if we use a low resolution the CRF mode will lower the bitrate anyway)

Change-Id: I467649d27178e5f8577d313f3d12ce0ed6712005
parent ad9dd8e2
......@@ -72,8 +72,8 @@ struct SystemCodecInfo
static constexpr unsigned DEFAULT_NO_QUALITY {0};
static constexpr unsigned DEFAULT_MIN_BITRATE {200};
static constexpr unsigned DEFAULT_MAX_BITRATE {3000};
static constexpr unsigned DEFAULT_VIDEO_BITRATE {600}; // in Kbits/second
static constexpr unsigned DEFAULT_MAX_BITRATE {6000};
static constexpr unsigned DEFAULT_VIDEO_BITRATE {800}; // in Kbits/second
SystemCodecInfo(unsigned codecId,
unsigned avcodecId,
......
......@@ -56,7 +56,7 @@ static constexpr unsigned MAX_REMB_DEC {1};
constexpr auto DELAY_AFTER_RESTART = std::chrono::milliseconds(1000);
constexpr auto EXPIRY_TIME_RTCP = std::chrono::seconds(2);
constexpr auto DELAY_AFTER_REMB_INC = std::chrono::seconds(2);
constexpr auto DELAY_AFTER_REMB_INC = std::chrono::seconds(1);
constexpr auto DELAY_AFTER_REMB_DEC = std::chrono::milliseconds(500);
VideoRtpSession::VideoRtpSession(const string& callID, const DeviceParams& localVideoParams)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment