MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Instance Methods | List of all members
<CaptureSource> Protocol Reference

Manages the process of capturing the source by input sources, such as a microphone or a camera. More...

#import <source.h>

Inheritance diagram for <CaptureSource>:
Inheritance graph
[legend]
Collaboration diagram for <CaptureSource>:
Collaboration graph
[legend]

Instance Methods

(MCTrack *) - startCapture
 
(void) - stopCapture
 Stops a capture and releases the track and the underlying devices.
 
(bool) - isCapturing
 

Detailed Description

Manages the process of capturing the source by input sources, such as a microphone or a camera.

Method Documentation

◆ isCapturing

- (bool) isCapturing

Checks the current state of the capture process.

  • Returns: A boolean value indicating whether the source is currently capturing (true) or not (false).

Reimplemented in MCAudioSource.

◆ startCapture

- (MCTrack *) startCapture

Initiates and starts the capture device and creates the corresponding track. You should not call start capture twice in a row.

  • Returns: The track corresponding to this source.

Reimplemented in MCAudioSource.

◆ stopCapture

- (void) stopCapture

Stops a capture and releases the track and the underlying devices.

Reimplemented in MCAudioSource.


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