MillicastSDK 2.0.0
|
The RTS logical track's video interface. More...
#import <rts_remote_track.h>
Instance Methods | |
(instancetype _Nonnull) | - NS_UNAVAILABLE |
(void) | - enableWithRenderer:layer:promote:completionHandler: |
(void) | - enableWithRenderer:promote:completionHandler: |
(void) | - enableWithRenderer:layer:completionHandler: |
(void) | - enableWithRenderer:completionHandler: |
__rtsRemoteVideoTrack | |
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 video interface.
- (void) enableWithRenderer: | (id< MCVideoRenderer > _Nonnull) | renderer | |
completionHandler: | (enable(renderer:completionHandler:)) | NS_SWIFT_NAME | |
Enable the track with default promote and layer behavour.
- (void) enableWithRenderer: | (id< MCVideoRenderer > _Nonnull) | renderer | |
layer: | (MCRTSRemoteVideoTrackLayer *_Nonnull) | layer | |
completionHandler: | (enable(renderer:layer:completionHandler:)) | NS_SWIFT_NAME | |
Enable the track with default promote behavour, which is false.
- (void) enableWithRenderer: | (id< MCVideoRenderer > _Nonnull) | renderer | |
layer: | (MCRTSRemoteVideoTrackLayer *_Nonnull) | layer | |
promote: | (BOOL) | promote | |
completionHandler: | (enable(renderer:layer:promote:completionHandler:)) | NS_SWIFT_NAME | |
Enable the track with a renderer to start receiving media. You can choose from MCAcceleratedVideoRenderer
or MCCMSampleBufferVideoRenderer
which are directly attachable to Views. Otherwise, if you have a specific usecase for receiving video frames and managing them yourself, then you can implement your own MCVideoRenderer
- (void) enableWithRenderer: | (id< MCVideoRenderer > _Nonnull) | renderer | |
promote: | (BOOL) | promote | |
completionHandler: | (enable(renderer:promote:completionHandler:)) | NS_SWIFT_NAME | |
Enable the track with default layer behaviour
- (instancetype _Nonnull) NS_UNAVAILABLE |
Implements MCRTSRemoteTrack.