MillicastSDK 2.0.0
|
The RTS logical track's audio interface. More...
#import <rts_remote_track.h>
Instance Methods | |
(instancetype _Nonnull) | - NS_UNAVAILABLE |
(void) | - enableWithCompletionHandler: |
(void) | - setVolume:completionHandler: |
__rtsRemoteAudioTrack | |
initWithNativeTrack: | |
Instance Methods inherited from MCRTSRemoteTrack | |
(MCRTSRemoteVideoTrack *_Nullable) | - asVideo |
(MCRTSRemoteAudioTrack *_Nullable) | - asAudio |
(instancetype _Nonnull) | - NS_UNAVAILABLE |
(void) | - disableWithCompletionHandler: |
rtsRemoteTrackWithNativeTrack: | |
Additional Inherited Members | |
Properties inherited from MCRTSRemoteTrack | |
id< MCRTSRemoteTrackDelegate > _Nullable | delegate |
Delegate to receive track related events. | |
NSString *_Nullable | sourceID |
The source ID of the track's publisher. | |
MCRemoteTrackKind | kind |
Either an Audio or Video track. | |
BOOL | isActive |
Whether the track is currently active. | |
NSString *_Nullable | currentMID |
The current MID of the track. Useful to parse statistics based on the mid. | |
The RTS logical track's audio interface.
- (void) enableWithCompletionHandler: | (nonnull void(^)(NSError *_Nullable)) | completionHandler |
Enable the audio track to start receiving media.
- (instancetype _Nonnull) NS_UNAVAILABLE |
Implements MCRTSRemoteTrack.
- (void) setVolume: | (double) | volume | |
completionHandler: | (setVolume(_:completionHandler:)) | NS_SWIFT_NAME | |
Set audio volume
The volume will only be set if projected, and will be reset when unprojected.