chromium/third_party/blink/common/mediastream/media_stream_request.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/public/common/mediastream/media_stream_request.h"

#include "base/check.h"
#include "build/build_config.h"
#include "media/base/audio_parameters.h"
#include "media/base/channel_layout.h"
#include "third_party/blink/public/mojom/mediastream/media_stream.mojom.h"

namespace blink {

bool IsAudioInputMediaType(mojom::MediaStreamType type) {}

bool IsVideoInputMediaType(mojom::MediaStreamType type) {}

bool IsScreenCaptureMediaType(mojom::MediaStreamType type) {}

bool IsVideoScreenCaptureMediaType(mojom::MediaStreamType type) {}

bool IsDesktopCaptureMediaType(mojom::MediaStreamType type) {}

bool IsVideoDesktopCaptureMediaType(mojom::MediaStreamType type) {}

bool IsTabCaptureMediaType(mojom::MediaStreamType type) {}

bool IsDeviceMediaType(mojom::MediaStreamType type) {}

bool IsMediaStreamDeviceTransferrable(const MediaStreamDevice& device) {}

MediaStreamDevice::MediaStreamDevice()
    :{}

MediaStreamDevice::MediaStreamDevice(mojom::MediaStreamType type,
                                     const std::string& id,
                                     const std::string& name)
    :{}

MediaStreamDevice::MediaStreamDevice(mojom::MediaStreamType type,
                                     const std::string& id,
                                     const std::string& name,
                                     int64_t display_id)
    :{}

MediaStreamDevice::MediaStreamDevice(
    mojom::MediaStreamType type,
    const std::string& id,
    const std::string& name,
    const media::VideoCaptureControlSupport& control_support,
    media::VideoFacingMode facing,
    const std::optional<std::string>& group_id)
    :{}

MediaStreamDevice::MediaStreamDevice(
    mojom::MediaStreamType type,
    const std::string& id,
    const std::string& name,
    int sample_rate,
    const media::ChannelLayoutConfig& channel_layout_config,
    int frames_per_buffer)
    :{}

MediaStreamDevice::MediaStreamDevice(const MediaStreamDevice& other)
    :{}

MediaStreamDevice::~MediaStreamDevice() = default;

MediaStreamDevice& MediaStreamDevice::operator=(
    const MediaStreamDevice& other) {}

bool MediaStreamDevice::IsSameDevice(
    const MediaStreamDevice& other_device) const {}

bool MediaStreamDevice::operator==(
    const MediaStreamDevice& other_device) const {}

blink::MediaStreamDevices ToMediaStreamDevicesList(
    const blink::mojom::StreamDevicesSet& stream_devices_set) {}

size_t CountDevices(const blink::mojom::StreamDevices& devices) {}

}  // namespace blink