MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Instance Methods | List of all members
MCVideoTrack Class Reference

Responsible for managing video capture session from a video source. More...

#import <track.h>

Inheritance diagram for MCVideoTrack:
Inheritance graph
[legend]
Collaboration diagram for MCVideoTrack:
Collaboration graph
[legend]

Instance Methods

(void) - addRenderer:
 
(void) - removeRenderer:
 
- Instance Methods inherited from MCTrack
(NSString *) - getId
 
(NSString *) - kind
 
(BOOL) - isEnabled
 
(void) - enable:
 
 cpp_track
 
 source
 
 initWithCppTrack:
 
 initWithSource:cppTrack:
 

Detailed Description

Responsible for managing video capture session from a video source.

Method Documentation

◆ addRenderer:

- (void) addRenderer: (id< MCVideoRenderer >)  renderer

Adds a VideoRenderer to render this video track. Several renderers can be added to the track. Each one will be called when a new frame becomes available.

  • Parameters:
    • renderer: The video renderer that will receive captured video frames.

◆ removeRenderer:

- (void) removeRenderer: (id< MCVideoRenderer >)  renderer

Removes a renderer from the list.

  • Parameters:
    • renderer: The renderer to remove.

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