#include "third_party/blink/renderer/modules/mediastream/input_device_info.h"
#include <algorithm>
#include "build/build_config.h"
#include "media/base/sample_format.h"
#include "media/capture/mojom/video_capture_types.mojom-shared.h"
#include "media/webrtc/constants.h"
#include "third_party/blink/public/mojom/mediastream/media_devices.mojom-blink.h"
#include "third_party/blink/public/platform/modules/mediastream/web_media_stream_track.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_double_range.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_long_range.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_media_settings_range.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_media_track_capabilities.h"
#include "third_party/blink/renderer/modules/mediastream/media_stream_constraints_util_video_device.h"
#include "third_party/blink/renderer/platform/mediastream/media_stream_audio_processor_options.h"
#include "third_party/blink/renderer/platform/mediastream/media_stream_audio_source.h"
#include "third_party/webrtc/modules/audio_processing/include/audio_processing.h"
namespace blink {
InputDeviceInfo::InputDeviceInfo(const String& device_id,
const String& label,
const String& group_id,
mojom::blink::MediaDeviceType device_type)
: … { … }
void InputDeviceInfo::SetVideoInputCapabilities(
mojom::blink::VideoInputDeviceCapabilitiesPtr video_input_capabilities) { … }
void InputDeviceInfo::SetAudioInputCapabilities(
mojom::blink::AudioInputDeviceCapabilitiesPtr audio_input_capabilities) { … }
MediaTrackCapabilities* InputDeviceInfo::getCapabilities() const { … }
}