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

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: Adding a comment Created 5 years, 2 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') | no next file with comments »
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 68994ae38a86edfd4bb9f3fdf3d306eb6e739bac..58c2dd566ba81da178620f280a36ad1ec71210c3 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 {
@@ -29,6 +31,7 @@ class LayerFilteringTransport : public test::DirectTransport {
const PacketOptions& options) 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_;
@@ -36,7 +39,8 @@ 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_;
+ // Current sequence number for each SSRC separately.
+ 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698