Removes deprecated InsertPacket/TimeToSendPacket/TimeToSendPadding
The methods are no longer in use, this CL cleans away references and updates any tests using them. Bug: webrtc:10633 Change-Id: I2db301e0a021a2f85a8b9a74e409303baba407da Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/150520 Reviewed-by: Stefan Holmer <stefan@webrtc.org> Reviewed-by: Sebastian Jansson <srte@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28956}
This commit is contained in:
@ -314,7 +314,7 @@ std::unique_ptr<RtpPacketToSend> RtpPacketHistory::GetPayloadPaddingPacket(
|
||||
StoredPacket* best_packet = *best_packet_it;
|
||||
if (best_packet->pending_transmission_) {
|
||||
// Because PacedSender releases it's lock when it calls
|
||||
// TimeToSendPadding() there is the potential for a race where a new
|
||||
// GeneratePadding() there is the potential for a race where a new
|
||||
// packet ends up here instead of the regular transmit path. In such a
|
||||
// case, just return empty and it will be picked up on the next
|
||||
// Process() call.
|
||||
|
||||
Reference in New Issue
Block a user