Skip to content

Commit

Permalink
Removed extra check for queuedelay trend
Browse files Browse the repository at this point in the history
  • Loading branch information
IngJohEricsson committed Feb 19, 2019
1 parent 88c65b1 commit 2ab2365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/gscream/gst-gscreamtx/gst-plugin/src/ScreamTx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1983,7 +1983,7 @@ void ScreamTx::Stream::updateTargetBitrate(uint32_t time_ntp) {
* Avoid that the target bitrate is reduced if it actually is the media
* coder that limits the output rate e.g due to inactivity
*/
if (rateRtp < targetBitrate*0.9f && parent->getQueueDelayTrend() < 0.5f)
if (rateRtp < targetBitrate*0.9f)
increment = 0.0f;
/*
* Also avoid that the target bitrate is reduced if
Expand Down

0 comments on commit 2ab2365

Please sign in to comment.