Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions app_stuff.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,16 @@ struct AppStuff
" -c (connect first as a client, otherwise bind and wait for connection)\n"
" -b <sender specific max bitrate, def: %s kbps>\n"
" -m <max packet/ACK size, def: %s B>\n"
" -v (for verbose prints)\n"
" -v (verbose output)\n"
" -q (quiet)\n"
" --rfc8888 (RFC8888 feddback)\n"
" --rfc8888 (RFC8888 feedback)\n"
" --rfc8888ackperiod <RFC8888 ACK period, def %s us>\n"
" --rtmode (Real-Time mode)\n"
" --fps <Frame-per-second, def %s fps>\n"
" --frameduration <Frame duration, def %s us>\n",
sender_role ? "sender" : "receiver", C_STR(PRAGUE_MAXRATE / 125), C_STR(PRAGUE_INITMTU),
C_STR(RFC8888_ACKPERIOD), C_STR(FRAME_PER_SECOND), C_STR(FRAME_DURATION));

exit(1);
}
}
Expand Down
2 changes: 1 addition & 1 deletion prague_cc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ void PragueCC::GetCCInfo( // when the sending-app needs to send a packet
size_tp &packet_size) // the packet size to transmit
{
if (Now() - m_alpha_ts - (m_vrtt >> 1) >= 0)
pacing_rate = m_pacing_rate - (100 + RATE_OFFSET) / 100;
pacing_rate = m_pacing_rate * 100 / (100 + RATE_OFFSET);
else
pacing_rate = m_pacing_rate * (100 + RATE_OFFSET) / 100;
packet_window = m_packet_window;
Expand Down