Delete unused class cricket::MediaSinkInterface, and mediasink.h.
Also update gyp dependency from rtc_base to rtc_base_approved. BUG=None. Review-Url: https://codereview.webrtc.org/2368203002 Cr-Commit-Position: refs/heads/master@{#14497}
This commit is contained in:
parent
3821399075
commit
7ba305111a
@ -39,7 +39,6 @@ rtc_static_library("rtc_pc") {
|
||||
"mediamonitor.h",
|
||||
"mediasession.cc",
|
||||
"mediasession.h",
|
||||
"mediasink.h",
|
||||
"rtcpmuxfilter.cc",
|
||||
"rtcpmuxfilter.h",
|
||||
"srtpfilter.cc",
|
||||
|
||||
@ -1,31 +0,0 @@
|
||||
/*
|
||||
* Copyright 2004 The WebRTC project authors. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license
|
||||
* that can be found in the LICENSE file in the root of the source
|
||||
* tree. An additional intellectual property rights grant can be found
|
||||
* in the file PATENTS. All contributing project authors may
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#ifndef WEBRTC_PC_MEDIASINK_H_
|
||||
#define WEBRTC_PC_MEDIASINK_H_
|
||||
|
||||
namespace cricket {
|
||||
|
||||
// MediaSinkInterface is a sink to handle RTP and RTCP packets that are sent or
|
||||
// received by a channel.
|
||||
class MediaSinkInterface {
|
||||
public:
|
||||
virtual ~MediaSinkInterface() {}
|
||||
|
||||
virtual void SetMaxSize(size_t size) = 0;
|
||||
virtual bool Enable(bool enable) = 0;
|
||||
virtual bool IsEnabled() const = 0;
|
||||
virtual void OnPacket(const void* data, size_t size, bool rtcp) = 0;
|
||||
virtual void set_packet_filter(int filter) = 0;
|
||||
};
|
||||
|
||||
} // namespace cricket
|
||||
|
||||
#endif // WEBRTC_PC_MEDIASINK_H_
|
||||
@ -20,7 +20,7 @@
|
||||
'target_name': 'rtc_pc',
|
||||
'type': 'static_library',
|
||||
'dependencies': [
|
||||
'<(webrtc_root)/base/base.gyp:rtc_base',
|
||||
'<(webrtc_root)/base/base.gyp:rtc_base_approved',
|
||||
'<(webrtc_root)/media/media.gyp:rtc_media',
|
||||
],
|
||||
'conditions': [
|
||||
@ -65,7 +65,6 @@
|
||||
'mediamonitor.h',
|
||||
'mediasession.cc',
|
||||
'mediasession.h',
|
||||
'mediasink.h',
|
||||
'rtcpmuxfilter.cc',
|
||||
'rtcpmuxfilter.h',
|
||||
'srtpfilter.cc',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user