提交 782a2a6e authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Remove min REMB value

上级 19d40e26
...@@ -508,7 +508,6 @@ namespace RTC ...@@ -508,7 +508,6 @@ namespace RTC
case Channel::Request::MethodId::transport_setMaxBitrate: case Channel::Request::MethodId::transport_setMaxBitrate:
{ {
static const Json::StaticString k_bitrate("bitrate"); static const Json::StaticString k_bitrate("bitrate");
static constexpr uint32_t MinBitrate = 10000;
// Validate request data. // Validate request data.
...@@ -519,12 +518,7 @@ namespace RTC ...@@ -519,12 +518,7 @@ namespace RTC
return; return;
} }
uint32_t bitrate = (uint32_t)request->data[k_bitrate].asUInt(); this->maxBitrate = (uint32_t)request->data[k_bitrate].asUInt();
if (bitrate < MinBitrate)
bitrate = MinBitrate;
this->maxBitrate = bitrate;
MS_DEBUG_TAG(rbe, "transport max bitrate set to %" PRIu32 "bps", this->maxBitrate); MS_DEBUG_TAG(rbe, "transport max bitrate set to %" PRIu32 "bps", this->maxBitrate);
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论