Skip to content

Commit

Permalink
Fix potential data race when updating targetIsMaxVideoBw (#1714)
Browse files Browse the repository at this point in the history
  • Loading branch information
lodoyun committed May 25, 2021
1 parent 311f046 commit 36a7742
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions erizo/src/erizo/MediaStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -726,9 +726,6 @@ void MediaStream::setSlideShowMode(bool state) {

void MediaStream::setTargetIsMaxVideoBW(bool state) {
ELOG_DEBUG("%s targetIsMaxVideoBw: %u", toLog(), state);
if (target_is_max_video_bw_ == state) {
return;
}
target_is_max_video_bw_ = state;
}

Expand Down

0 comments on commit 36a7742

Please sign in to comment.