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