Molybden API
Loading...
Searching...
No Matches
media_device.hpp
1
// Copyright (c) 2000-2023 TeamDev Ltd. All rights reserved.
2
// TeamDev PROPRIETARY and CONFIDENTIAL.
3
// Use is subject to license terms.
4
5
#ifndef MOLYBDEN_MEDIA_DEVICE_HPP
6
#define MOLYBDEN_MEDIA_DEVICE_HPP
7
8
#include <memory>
9
#include <string>
10
11
namespace
molybden {
12
16
enum class
MediaType {
17
kUnspecified,
18
kNone,
19
kImage,
20
kVideo,
21
kAudio,
22
kCanvas,
23
kFile,
24
kPlugin
25
};
26
30
enum class
MediaDeviceType { kUnspecified, kAudioDevice, kVideoDevice };
31
35
struct
MediaDeviceInfo
{
39
std::string
id
;
40
44
std::string
name
;
45
49
MediaDeviceType
type
;
50
};
51
52
}
// namespace molybden
53
54
#endif
// MOLYBDEN_MEDIA_DEVICE_HPP
molybden::MediaDeviceInfo
The media audio/video input device info.
Definition
media_device.hpp:35
molybden::MediaDeviceInfo::name
std::string name
The media input device name.
Definition
media_device.hpp:44
molybden::MediaDeviceInfo::id
std::string id
The identifier of the media input device.
Definition
media_device.hpp:39
molybden::MediaDeviceInfo::type
MediaDeviceType type
The media input device type.
Definition
media_device.hpp:49
include
molybden
media
media_device.hpp