8#import <CoreVideo/CoreVideo.h>
9#import <CoreMedia/CoreMedia.h>
13#import <MillicastSDK/exports.h>
33 MCSourceTypeNDI NS_SWIFT_NAME(NDI),
67- (void) setType:(MCSourceType) type;
72- (void) setName:(NSString *) name;
77- (void) setUniqueId:(NSString*) type;
82@protocol CaptureSource <NSObject>
99@protocol PlaybackSource <NSObject>
102- (void) initPlayback;
128- (void) changeVideoSource: (
bool) ascending;
135- (void) changeVideoSource: (
bool) ascending : (NSString*) deviceId;
154@protocol MCAudioControl <NSObject>
159- (void) setVolume:(uint32_t) v;
164- (void) setNumChannel:(uint8_t) channel;
169- (void) mute:(
bool) m;
173- (uint32_t) getVolume;
273- (void) onPixelBuffer:(CVPixelBufferRef) pixelBuffer;
279- (void) onPixelBuffer:(CVPixelBufferRef) pixelBuffer withTimestamp: (CMTime) timestamp;
#define MILLICAST_API
Definition exports.h:51
Responsible for building AudioPlayback.
Definition source.h:223
MCAudioPlayback * build()
void initPlayback()
Initializes the playback device.
Responsible for building AudioSource.
Definition source.h:200
Manages the audio capture functionality.
Definition source.h:182
void stopCapture()
Stops the audio capture process.
Responsible for building a CoreVideoSource.
Definition source.h:292
MCCoreVideoSource * build()
A Source that allows applications to feed their own raw CVPixelBuffers for publishing.
Definition source.h:262
void stopCapture()
Stops capturing video.
Responsible for building MCCustomAudioSource.
Definition source.h:255
MCCustomAudioSource * build()
A custom audio source that can be fed any raw audio data for publishing.
Definition source.h:231
void stopCapture()
Stops the underlying audio tracks and informs the SDK to stop any pending operations related to this ...
Responsible for building a source object.
Definition source.h:63
Gathers information about the source.
Definition source.h:42
NSString * getTypeAsString()
Represents a captured instance of a media source.
Definition track.h:10
This VideoCapabilities class represents the video capabilities of a video track.
Definition capabilities.h:24
Responsible for building a video source object.
Definition source.h:141
Responsible for managing video sources.
Definition source.h:113
NSArray< MCVideoCapabilities * > * getCapabilities()
typedef NS_CLOSED_ENUM(NSInteger, MCSourceType)
The Source type.
Definition source.h:23
Manages the process of capturing the source by input sources, such as a microphone or a camera.
Definition source.h:82
Manages audio settings.
Definition source.h:154
Responsible for managing playback devices.
Definition source.h:99