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

Represents a captured instance of a media source. More...

#import <track.h>

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

Instance Methods

(NSString *) - getId
 
(NSString *) - kind
 
(BOOL) - isEnabled
 
(void) - enable:
 
 cpp_track
 
 source
 
 initWithCppTrack:
 
 initWithSource:cppTrack:
 

Detailed Description

Represents a captured instance of a media source.

Method Documentation

◆ enable:

- (void) enable: (BOOL)  e

Enables or disables the track. A disabled audio track produces silence. A disabled video track produces black frames.

  • Parameters:
    • e: True to enable the track, false otherwise.

◆ getId

- (NSString *) getId

Get the track Id.

  • Returns: The track ID.

◆ isEnabled

- (BOOL) isEnabled

Checks whether the track is enabled or not.

  • Returns: True if the track is enabled, false otherwise.

◆ kind

- (NSString *) kind

Get the track type.

  • Returns: The track type, either audio or video.

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