diff --git a/webrtc/pc/BUILD.gn b/webrtc/pc/BUILD.gn index 42a933fe81..be36988273 100644 --- a/webrtc/pc/BUILD.gn +++ b/webrtc/pc/BUILD.gn @@ -39,7 +39,6 @@ rtc_static_library("rtc_pc") { "mediamonitor.h", "mediasession.cc", "mediasession.h", - "mediasink.h", "rtcpmuxfilter.cc", "rtcpmuxfilter.h", "srtpfilter.cc", diff --git a/webrtc/pc/mediasink.h b/webrtc/pc/mediasink.h deleted file mode 100644 index 01bd3fa173..0000000000 --- a/webrtc/pc/mediasink.h +++ /dev/null @@ -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_ diff --git a/webrtc/pc/pc.gyp b/webrtc/pc/pc.gyp index f88a315b35..36be48d56d 100755 --- a/webrtc/pc/pc.gyp +++ b/webrtc/pc/pc.gyp @@ -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',