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

Instance Methods

(instancetype _Nonnull) - initWithNativeTrack: [implementation]
 

Properties

millicast::RtsRemoteVideoTrack *_Nonnull __rtsRemoteVideoTrack [implementation]
 
millicast::RtsRemoteVideoTracknativeHandle [implementation]
 

Detailed Description

  • (instancetype _Nonnull)init NS_UNAVAILABLE;

/ 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

  • Parameters:
    • renderer: The renderer to receive video frames.
    • layer: Layer information. If the default value is passed, the service will allocate layers automatically depending on bandwidth estimation and the priority
    • promote: set this track to be the main video track. The main video track has highest priority for bandwidth assignment when SVC layers are managed by the service.
    • completionHandler: Invoked when the asynchronous operation completes.

Method Documentation

◆ initWithNativeTrack:

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

Property Documentation

◆ __rtsRemoteVideoTrack

- (RtsRemoteVideoTrack* _Nonnull MCRTSRemoteVideoTrack()):
readnonatomicassignimplementation

◆ nativeHandle

- (RtsRemoteVideoTrack* MCRTSRemoteVideoTrack()):
readnonatomicassignimplementation

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