The Media class is used to manage media sources.
More...
#include <media.h>
|
static std::vector< VideoSource::Ptr > | get_video_sources () |
| get_video_sources get all the available video source (device, desktop, ...) this funcion will return only the video sources already found. To fetch new video sources, call refresh first.
|
|
static std::vector< AudioSource::Ptr > | get_audio_sources () |
| get_audio_sources get all the available audio source (device, ndi, ...) this funcion will return only the audio sources already found. To fetch new audio sources, call refresh first.
|
|
static std::vector< AudioPlayback::Ptr > | get_playback_devices () |
| get_playback_devices, get all the available audio playback (device, ndi, ...) this funcion will return only the audio playback already found. To fetch new audio playback, call refresh first.
|
|
static bool | is_ndi_available () |
| is_ndi_available, check if ndi support is enabled in the sdk
|
|
static bool | is_decklink_available () |
| is_decklink_available, check if decklink devices support is enabled in the sdk
|
|
The Media class is used to manage media sources.
◆ get_audio_sources()
get_audio_sources get all the available audio source (device, ndi, ...) this funcion will return only the audio sources already found. To fetch new audio sources, call refresh first.
- See also
- AudioSource
- Returns
- An array of all found audio source
◆ get_playback_devices()
get_playback_devices, get all the available audio playback (device, ndi, ...) this funcion will return only the audio playback already found. To fetch new audio playback, call refresh first.
- See also
- AudioPlayback
- Returns
- An array of all found audio playback devices
◆ get_video_sources()
get_video_sources get all the available video source (device, desktop, ...) this funcion will return only the video sources already found. To fetch new video sources, call refresh first.
- See also
- VideoSource
- Returns
- An array of all found video source
◆ is_decklink_available()
static bool millicast::Media::is_decklink_available |
( |
| ) |
|
|
static |
is_decklink_available, check if decklink devices support is enabled in the sdk
- Returns
- true if decklink is available false otherwise.
◆ is_ndi_available()
static bool millicast::Media::is_ndi_available |
( |
| ) |
|
|
static |
is_ndi_available, check if ndi support is enabled in the sdk
- Returns
- true if ndi is available false otherwise.
The documentation for this class was generated from the following file: