MillicastSDK 1.8.4
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
millicast::Media Class Reference

The Media class is used to manage media sources. More...

#include <media.h>

Static Public Member Functions

static std::vector< VideoSource::Ptrget_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::Ptrget_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::Ptrget_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
 

Detailed Description

The Media class is used to manage media sources.

Member Function Documentation

◆ get_audio_sources()

static std::vector< AudioSource::Ptr > millicast::Media::get_audio_sources ( )
static

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()

static std::vector< AudioPlayback::Ptr > millicast::Media::get_playback_devices ( )
static

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()

static std::vector< VideoSource::Ptr > millicast::Media::get_video_sources ( )
static

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: