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

Side by Side Diff: webrtc/pc/mediasink.h

Issue 1919133002: Simple lint fixes (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « webrtc/pc/mediasession_unittest.cc ('k') | webrtc/pc/rtcpmuxfilter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2004 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef TALK_SESSION_MEDIA_MEDIASINK_H_ 11 #ifndef WEBRTC_PC_MEDIASINK_H_
12 #define TALK_SESSION_MEDIA_MEDIASINK_H_ 12 #define WEBRTC_PC_MEDIASINK_H_
13 13
14 namespace cricket { 14 namespace cricket {
15 15
16 // MediaSinkInterface is a sink to handle RTP and RTCP packets that are sent or 16 // MediaSinkInterface is a sink to handle RTP and RTCP packets that are sent or
17 // received by a channel. 17 // received by a channel.
18 class MediaSinkInterface { 18 class MediaSinkInterface {
19 public: 19 public:
20 virtual ~MediaSinkInterface() {} 20 virtual ~MediaSinkInterface() {}
21 21
22 virtual void SetMaxSize(size_t size) = 0; 22 virtual void SetMaxSize(size_t size) = 0;
23 virtual bool Enable(bool enable) = 0; 23 virtual bool Enable(bool enable) = 0;
24 virtual bool IsEnabled() const = 0; 24 virtual bool IsEnabled() const = 0;
25 virtual void OnPacket(const void* data, size_t size, bool rtcp) = 0; 25 virtual void OnPacket(const void* data, size_t size, bool rtcp) = 0;
26 virtual void set_packet_filter(int filter) = 0; 26 virtual void set_packet_filter(int filter) = 0;
27 }; 27 };
28 28
29 } // namespace cricket 29 } // namespace cricket
30 30
31 #endif // TALK_SESSION_MEDIA_MEDIASINK_H_ 31 #endif // WEBRTC_PC_MEDIASINK_H_
OLDNEW
« no previous file with comments | « webrtc/pc/mediasession_unittest.cc ('k') | webrtc/pc/rtcpmuxfilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698