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

Unified Diff: webrtc/common_types.h

Issue 2920993002: Add RSID-based demuxing to RtpDemuxer (Closed)
Patch Set: Response to CR Created 3 years, 7 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
Index: webrtc/common_types.h
diff --git a/webrtc/common_types.h b/webrtc/common_types.h
index 424afd91397414a18c6f8d96e45da4d4a73f36db..e5bfcd2901fe7645d16595ceabf1089b4cb8be4b 100644
--- a/webrtc/common_types.h
+++ b/webrtc/common_types.h
@@ -707,6 +707,8 @@ class StreamId {
// that can be encoded with one-byte header extensions.
static constexpr size_t kMaxSize = 16;
+ static bool IsLegalName(rtc::ArrayView<const char> name);
+
StreamId() { value_[0] = 0; }
explicit StreamId(rtc::ArrayView<const char> value) {
Set(value.data(), value.size());

Powered by Google App Engine
This is Rietveld 408576698