Fix bug in PacketQueue2: prioritize the stream with the least sent data.
Bug: webrtc:8288 Change-Id: Idce66e4bad2cb7e5281d309317f4e135ce795735 Reviewed-on: https://webrtc-review.googlesource.com/35840 Reviewed-by: Philip Eliasson <philipel@webrtc.org> Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21415}
This commit is contained in:
parent
a40f82438a
commit
c3216e1b1d
@ -49,7 +49,7 @@ class PacketQueue2 : public PacketQueue {
|
||||
bool operator<(const StreamPrioKey& other) const {
|
||||
if (priority != other.priority)
|
||||
return priority < other.priority;
|
||||
return bytes > other.bytes;
|
||||
return bytes < other.bytes;
|
||||
}
|
||||
|
||||
const RtpPacketSender::Priority priority;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user