Skip to content

Commit

Permalink
remove test code for #730
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Jan 6, 2017
1 parent 1b175b1 commit 517812d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/src/protocol/srs_rtmp_stack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1626,7 +1626,7 @@ int SrsProtocol::response_acknowledgement_message()
}

// ignore when delta bytes not exceed half of window(ack size).
uint32_t delta = (uint32_t)(skt->get_recv_bytes() - in_ack_size.nb_recv_bytes)*100;
uint32_t delta = (uint32_t)(skt->get_recv_bytes() - in_ack_size.nb_recv_bytes);
if (delta < in_ack_size.window / 2) {
return ret;
}
Expand Down

0 comments on commit 517812d

Please sign in to comment.