Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Unified Diff: webrtc/test/layer_filtering_transport.h

Issue 1350383004: Using different sequence numbers for different SSRCs (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Replacing payload_type with ssrc Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/test/layer_filtering_transport.cc » ('j') | webrtc/test/layer_filtering_transport.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/layer_filtering_transport.h
diff --git a/webrtc/test/layer_filtering_transport.h b/webrtc/test/layer_filtering_transport.h
index 96a2cba8a232c44f43b72978b024b9d311ddaabd..31e03d3adaca1c5218c22d8c82f1b906410105c2 100644
--- a/webrtc/test/layer_filtering_transport.h
+++ b/webrtc/test/layer_filtering_transport.h
@@ -13,6 +13,8 @@
#include "webrtc/test/direct_transport.h"
#include "webrtc/test/fake_network_pipe.h"
+#include <map>
+
namespace webrtc {
namespace test {
@@ -27,6 +29,7 @@ class LayerFilteringTransport : public test::DirectTransport {
bool SendRtp(const uint8_t* data, size_t length) override;
private:
+ uint16_t NextSequenceNumber(uint32_t ssrc);
// Used to distinguish between VP8 and VP9.
const uint8_t vp8_video_payload_type_;
const uint8_t vp9_video_payload_type_;
@@ -34,7 +37,7 @@ class LayerFilteringTransport : public test::DirectTransport {
// threshold. 0 to disable.
const uint8_t tl_discard_threshold_;
const uint8_t sl_discard_threshold_;
- uint16_t current_seq_num_;
+ std::map<uint32_t, uint16_t> current_seq_nums_;
};
} // namespace test
« no previous file with comments | « no previous file | webrtc/test/layer_filtering_transport.cc » ('j') | webrtc/test/layer_filtering_transport.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698