Remove unused file.

Bug: none
Change-Id: I7332693e2cccc121e6bea6b95a77e27582adfc31
Reviewed-on: https://webrtc-review.googlesource.com/c/120900
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Fredrik Solenberg <solenberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26560}
This commit is contained in:
Fredrik Solenberg 2019-02-05 12:41:14 +01:00 committed by Commit Bot
parent 3f408d006a
commit 38c83b9713
3 changed files with 0 additions and 34 deletions

View File

@ -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"

View File

@ -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",

View File

@ -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 <string>
#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_