Skip to content

Commit

Permalink
DataConsumer: Fix, send 'bufferedamountlow' notification (#1113)
Browse files Browse the repository at this point in the history
Removed by error in previous commit ed15a86
  • Loading branch information
jmillan authored Jul 10, 2023
1 parent 760f203 commit f6c7a17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions worker/src/RTC/DataConsumer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ namespace RTC

data.append(std::to_string(this->bufferedAmount));
data.append("}");

this->shared->channelNotifier->Emit(this->id, "bufferedamountlow", data);
}
// Force the trigger of 'bufferedamountlow' once there is less or same
// buffered data than the given threshold.
Expand Down

0 comments on commit f6c7a17

Please sign in to comment.