diff --git a/examples/peerconnection/client/conductor.cc b/examples/peerconnection/client/conductor.cc index 8fc07228d9..64813b00f7 100644 --- a/examples/peerconnection/client/conductor.cc +++ b/examples/peerconnection/client/conductor.cc @@ -31,7 +31,6 @@ #include "api/video_codecs/video_decoder_factory.h" #include "api/video_codecs/video_encoder_factory.h" #include "examples/peerconnection/client/defaults.h" -#include "media/base/device.h" #include "modules/audio_device/include/audio_device.h" #include "modules/audio_processing/include/audio_processing.h" #include "modules/video_capture/video_capture.h" diff --git a/media/BUILD.gn b/media/BUILD.gn index e703abb164..87cdfd5e0e 100644 --- a/media/BUILD.gn +++ b/media/BUILD.gn @@ -91,7 +91,6 @@ rtc_static_library("rtc_media_base") { "base/audio_source.h", "base/codec.cc", "base/codec.h", - "base/device.h", "base/media_channel.cc", "base/media_channel.h", "base/media_constants.cc", diff --git a/media/base/device.h b/media/base/device.h deleted file mode 100644 index 9ae844f566..0000000000 --- a/media/base/device.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2014 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 MEDIA_BASE_DEVICE_H_ -#define MEDIA_BASE_DEVICE_H_ - -#include - -#include "rtc_base/string_encode.h" - -namespace cricket { - -// Used to represent an audio or video capture or render device. -struct Device { - Device() {} - Device(const std::string& name, int id) : name(name), id(rtc::ToString(id)) {} - Device(const std::string& name, const std::string& id) : name(name), id(id) {} - - std::string name; - std::string id; -}; - -} // namespace cricket - -#endif // MEDIA_BASE_DEVICE_H_