MillicastSDK 2.2.0
Loading...
Searching...
No Matches
MCMedia Class Reference

Class used for managing media sources. More...

#include <media.h>

Inheritance diagram for MCMedia:
Collaboration diagram for MCMedia:

Class Methods

(NSArray< MCAudioPlayback * > *) + getPlaybackDevices
 
(NSArray< NSString * > *) + getSupportedVideoCodecs
 
(NSArray< NSString * > *) + getSupportedAudioCodecs
 
(bool) + isNdiAvailable
 

Detailed Description

Class used for managing media sources.

Method Documentation

◆ getPlaybackDevices

+ (NSArray< MCAudioPlayback * > *) getPlaybackDevices

Query all available video sources.

  • Returns: An array of all available MCVideoSource +(NSArray<MCVideoSource*>*)getVideoSources;

/ Query all available audio sources. / - Returns: An array of all available MCAudioSource +(NSArray<MCAudioSource*>*)getAudioSources;

/ Query available audio playback devices and plugins. / - Returns: An array of all available MCAudioPlayback devices.

◆ getSupportedAudioCodecs

+ (NSArray< NSString * > *) getSupportedAudioCodecs

Query a list of all the supported audio codecs

  • Returns: An array of all available audio codecs.

◆ getSupportedVideoCodecs

+ (NSArray< NSString * > *) getSupportedVideoCodecs

Query a list of the supported video codecs.

  • Returns: An array of all available video codecs on the platforms.

◆ isNdiAvailable

+ (bool) isNdiAvailable

Checks whether NDI support is enabled in the SDK.

  • Returns: Whether NDI is available (true) or not (false).

The documentation for this class was generated from the following file: