MillicastSDK 2.5.0
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
13#include <vector>
14
15#include "mc_logging.h"
16#include "source.h"
17
18namespace millicast {
19
23namespace codec {
24/* Video */
25constexpr char H264_CODEC_NAME[] = "H264";
26constexpr char H265_CODEC_NAME[] = "H265";
27constexpr char VP8_CODEC_NAME[] = "VP8";
28constexpr char VP9_CODEC_NAME[] = "VP9";
29constexpr char AV1_CODEC_NAME[] = "AV1";
30
31/* Audio */
32constexpr char OPUS_CODEC_NAME[] = "opus";
33constexpr char MULTIOPUS_CODEC_NAME[] = "multiopus";
34} // namespace codec
35
40class MILLICAST_API Media {
41 public:
50 static std::vector<VideoSource::Ptr> get_video_sources();
51
60 static std::vector<AudioSource::Ptr> get_audio_sources();
61
70 static std::vector<AudioPlayback::Ptr> get_playback_devices();
71
77 static bool is_ndi_available();
78
85 static bool is_decklink_available();
86};
87
88} // namespace millicast
89
90#endif /* MILLICAST_API_MEDIA_H */
91#endif // __cplusplus
#define MILLICAST_API
Definition exports.h:51