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

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

Issue 2368203002: Delete unused class cricket::MediaSinkInterface, and mediasink.h. (Closed)
Patch Set: Created 4 years, 2 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/BUILD.gn ('k') | webrtc/pc/pc.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2004 The WebRTC project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #ifndef WEBRTC_PC_MEDIASINK_H_
12 #define WEBRTC_PC_MEDIASINK_H_
13
14 namespace cricket {
15
16 // MediaSinkInterface is a sink to handle RTP and RTCP packets that are sent or
17 // received by a channel.
18 class MediaSinkInterface {
19 public:
20 virtual ~MediaSinkInterface() {}
21
22 virtual void SetMaxSize(size_t size) = 0;
23 virtual bool Enable(bool enable) = 0;
24 virtual bool IsEnabled() const = 0;
25 virtual void OnPacket(const void* data, size_t size, bool rtcp) = 0;
26 virtual void set_packet_filter(int filter) = 0;
27 };
28
29 } // namespace cricket
30
31 #endif // WEBRTC_PC_MEDIASINK_H_
OLDNEW
« no previous file with comments | « webrtc/pc/BUILD.gn ('k') | webrtc/pc/pc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698