MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Instance Methods | List of all members
MCAudioSource Class Reference

Manages the audio capture functionality. More...

#import <source.h>

Inheritance diagram for MCAudioSource:
Inheritance graph
[legend]
Collaboration diagram for MCAudioSource:
Collaboration graph
[legend]

Instance Methods

(MCTrack *) - startCapture
 
(void) - stopCapture
 Stops the audio capture process.
 
(bool) - isCapturing
 
 initWithCppSource:
 
- Instance Methods inherited from MCSource
(MCSourceType) - getType
 
(NSString *) - getName
 
(NSString *) - getUniqueId
 
(NSString *) - getTypeAsString
 
(MCTrack *) - startCapture
 
(void) - stopCapture
 Stops a capture and releases the track and the underlying devices.
 
(bool) - isCapturing
 
- Instance Methods inherited from <MCAudioControl>
(void) - setVolume:
 
(void) - setNumChannel:
 
(void) - mute:
 
(uint32_t) - getVolume
 
(bool) - isMuted
 

Detailed Description

Manages the audio capture functionality.

Method Documentation

◆ isCapturing

- (bool) isCapturing

Checks whether the AudioSource instance is currently actively capturing audio.

  • Returns: True if the audio source is capturing. False otherwise.

Reimplemented from <CaptureSource>.

◆ startCapture

- (MCTrack *) startCapture

Initiates the audio capture process from the current source.

  • Returns: An audio track. See MCPublisher/addTrackWithAudioTrack:completionHandler: to see how you can use this class.

Reimplemented from <CaptureSource>.

◆ stopCapture

- (void) stopCapture

Stops the audio capture process.

Reimplemented from <CaptureSource>.


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