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

Side by Side Diff: media/cast/net/rtcp/rtcp_session.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: Add missing rtcp_session.h and a few comments 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_CAST_NET_RTCP_RTCP_SESSION_H_
6 #define MEDIA_CAST_NET_RTCP_RTCP_SESSION_H_
7
8 namespace media {
9 namespace cast {
10
11 // Base class for an RTCP session.
12 class RtcpSession {
13 public:
14 virtual ~RtcpSession() {}
15
16 // Handle incoming RTCP packet.
17 // Returns false if it is not a RTCP packet or it is not directed to
18 // this session, e.g. SSRC doesn't match.
19 virtual bool IncomingRtcpPacket(const uint8* data, size_t length) = 0;
20 };
21
22 } // namespace cast
23 } // namespace media
24
25 #endif // MEDIA_CAST_NET_RTCP_RTCP_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698