MillicastSDK 2.2.0
Loading...
Searching...
No Matches
MCRTSRemoteAudioTrack Class Reference

The RTS logical track's audio interface. More...

#include <rts_remote_track.h>

Inheritance diagram for MCRTSRemoteAudioTrack:
Collaboration diagram for MCRTSRemoteAudioTrack:

Instance Methods

(instancetype _Nonnull) - NS_UNAVAILABLE
 
(void) - enableWithCompletionHandler:
 
(void) - setVolume:completionHandler:
 
(instancetype _Nonnull) - initWithNativeTrack: [implementation]
 
- Instance Methods inherited from MCRTSRemoteTrack
(void) - cancelAsyncStreamAdapter [implementation]
 

Properties

millicast::RtsRemoteAudioTrack *_Nonnull __rtsRemoteAudioTrack [implementation]
 
millicast::RtsRemoteAudioTracknativeHandle [implementation]
 

Additional Inherited Members

- Class Methods inherited from MCRTSRemoteTrack
(instancetype _Nonnull) + rtsRemoteTrackWithNativeTrack: [implementation]
 

Detailed Description

The RTS logical track's audio interface.

Method Documentation

◆ enableWithCompletionHandler:

- (void) enableWithCompletionHandler: (nonnull void(^)(NSError *_Nullable)) completionHandler

Enable the audio track to start receiving media.

  • Parameters:
    • completionHandler: Handler invoked when the asynchronous operation completes.

◆ initWithNativeTrack:

- (instancetype _Nonnull) initWithNativeTrack: (millicast::RtsRemoteAudioTrack *_Nonnull) nativeTrack
implementation

◆ NS_UNAVAILABLE

- (instancetype _Nonnull) NS_UNAVAILABLE

◆ setVolume:completionHandler:

- (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.

  • Parameters:
    • volume: The volume in range 0.0 to 1.0
    • completionHandler: Invoked when the asynchronous operation completes.

Property Documentation

◆ __rtsRemoteAudioTrack

- (RtsRemoteAudioTrack* _Nonnull MCRTSRemoteAudioTrack()):
readnonatomicassignimplementation

◆ nativeHandle

- (RtsRemoteAudioTrack* MCRTSRemoteAudioTrack()):
readnonatomicassignimplementation

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