Skip to content

Commit 44f5fd8

Browse files
Fix comment
1 parent fa538f7 commit 44f5fd8

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

include/rtc/pacinghandler.hpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@
1919

2020
namespace rtc {
2121

22-
// Paced sending of RTP packets. Takes a stream of RTP packets that can an
23-
// uneven bitrate. It then delivers these packets in a smoother manner by
24-
// sending a fixed size of them on an interval
22+
// Paced sending of RTP packets. It takes a stream of RTP packets that can have an uneven bitrate
23+
// and delivers them in a smoother manner by sending a fixed size of them on an interval
2524
class RTC_CPP_EXPORT PacingHandler : public MediaHandler {
2625
public:
2726
PacingHandler(double bitsPerSecond, std::chrono::milliseconds sendInterval);

src/pacinghandler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
namespace rtc {
1919

2020
PacingHandler::PacingHandler(double bitsPerSecond, std::chrono::milliseconds sendInterval)
21-
: mBytesPerSecond(bitsPerSecond / 8), mBudget(0), mSendInterval(sendInterval){};
21+
: mBytesPerSecond(bitsPerSecond / 8), mBudget(0.), mSendInterval(sendInterval){};
2222

2323
void PacingHandler::schedule(const message_callback &send) {
2424
if (!mHaveScheduled.exchange(true)) {

0 commit comments

Comments
 (0)