MillicastSDK 2.0.0
|
Manages and plays a single audio resource. More...
#import <track.h>
Instance Methods | |
(void) | - addRenderer: |
(void) | - removeRenderer: |
(void) | - setVolume: |
Instance Methods inherited from MCTrack | |
(NSString *) | - getId |
(NSString *) | - kind |
(BOOL) | - isEnabled |
(void) | - enable: |
cpp_track | |
source | |
initWithCppTrack: | |
initWithSource:cppTrack: | |
Manages and plays a single audio resource.
- (void) addRenderer: | (id< MCAudioRenderer >) | renderer |
Adds an audio renderer to render this track. Several renderers can be added to the track. Each one will be called when a new frame becomes available.
- (void) removeRenderer: | (id< MCAudioRenderer >) | renderer |
Removes a renderer from the list.
- (void) setVolume: | (double) | volume |
Sets the volume of the remote audio track.