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
11namespace molybden {
12
16enum class MediaType {
17 kUnspecified,
18 kNone,
19 kImage,
20 kVideo,
21 kAudio,
22 kCanvas,
23 kFile,
24 kPlugin
25};
26
30enum class MediaDeviceType { kUnspecified, kAudioDevice, kVideoDevice };
31
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
The media audio/video input device info.
Definition media_device.hpp:35
std::string name
The media input device name.
Definition media_device.hpp:44
std::string id
The identifier of the media input device.
Definition media_device.hpp:39
MediaDeviceType type
The media input device type.
Definition media_device.hpp:49