MillicastSDK
2.7.0
Toggle main menu visibility
Loading...
Searching...
No Matches
media.h
Go to the documentation of this file.
1
#ifndef MILLICAST_API_MEDIA_H
2
#define MILLICAST_API_MEDIA_H
3
4
#ifdef __cplusplus
5
12
13
#include <vector>
14
15
#include "
mc_logging.h
"
16
#include "
source.h
"
17
18
namespace
millicast {
19
23
namespace
codec {
24
/* Video */
25
constexpr
char
H264_CODEC_NAME[] =
"H264"
;
26
constexpr
char
H265_CODEC_NAME[] =
"H265"
;
27
constexpr
char
VP8_CODEC_NAME[] =
"VP8"
;
28
constexpr
char
VP9_CODEC_NAME[] =
"VP9"
;
29
constexpr
char
AV1_CODEC_NAME[] =
"AV1"
;
30
31
/* Audio */
32
constexpr
char
OPUS_CODEC_NAME[] =
"opus"
;
33
constexpr
char
MULTIOPUS_CODEC_NAME[] =
"multiopus"
;
34
}
// namespace codec
35
39
40
class
MILLICAST_API
Media {
41
public
:
49
50
static
std::vector<VideoSource::Ptr> get_video_sources();
51
59
60
static
std::vector<AudioSource::Ptr> get_audio_sources();
61
69
70
static
std::vector<AudioPlayback::Ptr> get_playback_devices();
71
76
77
static
bool
is_ndi_available();
78
84
85
static
bool
is_decklink_available();
86
};
87
88
}
// namespace millicast
89
90
#endif
/* MILLICAST_API_MEDIA_H */
91
#endif
// __cplusplus
MILLICAST_API
#define MILLICAST_API
Definition
exports.h:51
mc_logging.h
source.h
api
millicast-sdk
media.h
Generated by
1.18.0