MillicastSDK 2.0.0
Loading...
Searching...
No Matches
track.h
Go to the documentation of this file.
2#import <MillicastSDK/exports.h>
3
4// Forward declarations ///////////////////////////////////////////////////////
5@protocol MCVideoRenderer;
6@protocol MCAudioRenderer;
7
9MILLICAST_API @interface MCTrack : NSObject
10
13- (NSString *) getId;
14
17- (NSString *) kind;
18
21- (BOOL) isEnabled;
22
23
27- (void) enable: (BOOL)e;
28
29@end
30
33
39- (void) addRenderer: (id<MCVideoRenderer>) renderer;
40
44- (void) removeRenderer: (id<MCVideoRenderer>) renderer;
45
46@end
47
48
51
57- (void) addRenderer:(id<MCAudioRenderer>) renderer;
58
62- (void) removeRenderer:(id<MCAudioRenderer>) renderer;
63
64
68- (void) setVolume:(double) volume;
69
70@end
#define MILLICAST_API
Definition exports.h:51
Manages and plays a single audio resource.
Definition track.h:51
Represents a captured instance of a media source.
Definition track.h:10
NSString * getId()
NSString * kind()
BOOL isEnabled()
Responsible for managing video capture session from a video source.
Definition track.h:33