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

Unified Diff: webrtc/common_types.h

Issue 2920993002: Add RSID-based demuxing to RtpDemuxer (Closed)
Patch Set: 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..76f2093bbbd267ea7eddb4f26bbe3fad15f2e719 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(const char* data, size_t size);
danilchap 2017/06/02 17:42:20 until std::string_view is available, may be use rt
eladalon 2017/06/02 19:44:05 1. About ArrayView - done. 2. About "valid" vs. "l
danilchap 2017/06/07 13:45:41 IsValidName doesn't occur, but IsValid occur way m
+
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