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

Unified Diff: media/cast/net/rtcp/rtcp_utility.h

Issue 1520613004: cast: Split Rtcp into two for sender and receiver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@timestamp
Patch Set: Rebased Created 5 years 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 | « media/cast/net/rtcp/rtcp_unittest.cc ('k') | media/cast/net/rtcp/rtcp_utility.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/rtcp/rtcp_utility.h
diff --git a/media/cast/net/rtcp/rtcp_utility.h b/media/cast/net/rtcp/rtcp_utility.h
index aa385f83cfa7b89ec18e9717a2e4f57755d40359..ec59c08cff1cb655edea387066252bf63870eca6 100644
--- a/media/cast/net/rtcp/rtcp_utility.h
+++ b/media/cast/net/rtcp/rtcp_utility.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MEDIA_CAST_RTCP_RTCP_UTILITY_H_
-#define MEDIA_CAST_RTCP_RTCP_UTILITY_H_
+#ifndef MEDIA_CAST_NET_RTCP_RTCP_UTILITY_H_
+#define MEDIA_CAST_NET_RTCP_RTCP_UTILITY_H_
#include <stddef.h>
#include <stdint.h>
@@ -139,7 +139,11 @@ void ConvertTimeTicksToNtp(const base::TimeTicks& time,
base::TimeTicks ConvertNtpToTimeTicks(uint32_t ntp_seconds,
uint32_t ntp_fractions);
+bool IsRtcpPacket(const uint8_t* packet, size_t length);
+
+uint32_t GetSsrcOfSender(const uint8_t* rtcp_buffer, size_t length);
+
} // namespace cast
} // namespace media
-#endif // MEDIA_CAST_RTCP_RTCP_UTILITY_H_
+#endif // MEDIA_CAST_NET_RTCP_RTCP_UTILITY_H_
« no previous file with comments | « media/cast/net/rtcp/rtcp_unittest.cc ('k') | media/cast/net/rtcp/rtcp_utility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698