aboutsummaryrefslogtreecommitdiff
path: root/modules/pacing/round_robin_packet_queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pacing/round_robin_packet_queue.h')
-rw-r--r--modules/pacing/round_robin_packet_queue.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/pacing/round_robin_packet_queue.h b/modules/pacing/round_robin_packet_queue.h
index 9446a8e174..cad555a1af 100644
--- a/modules/pacing/round_robin_packet_queue.h
+++ b/modules/pacing/round_robin_packet_queue.h
@@ -19,6 +19,7 @@
#include <memory>
#include <queue>
#include <set>
+#include <unordered_map>
#include "absl/types/optional.h"
#include "api/transport/webrtc_key_value_config.h"
@@ -163,7 +164,7 @@ class RoundRobinPacketQueue {
std::multimap<StreamPrioKey, uint32_t> stream_priorities_;
// A map of SSRCs to Streams.
- std::map<uint32_t, Stream> streams_;
+ std::unordered_map<uint32_t, Stream> streams_;
// The enqueue time of every packet currently in the queue. Used to figure out
// the age of the oldest packet in the queue.