MillicastSDK 2.0.0
|
Responsible for managing video sources. More...
#import <source.h>
Instance Methods | |
(NSArray< MCVideoCapabilities * > *) | - getCapabilities |
(void) | - setCapability: |
(void) | - changeVideoSource: |
(void) | - changeVideoSource:ascending: |
capabilities | |
initWithCppSource: | |
Instance Methods inherited from MCSource | |
(MCSourceType) | - getType |
(NSString *) | - getName |
(NSString *) | - getUniqueId |
(NSString *) | - getTypeAsString |
Instance Methods inherited from <CaptureSource> | |
(MCTrack *) | - startCapture |
(void) | - stopCapture |
Stops a capture and releases the track and the underlying devices. | |
(bool) | - isCapturing |
Responsible for managing video sources.
- (void) changeVideoSource: | (bool) | ascending |
Change the underlying video source. For example in the case of a Camera, switch between front/rear camera.
- (void) changeVideoSource: | (bool) | ||
ascending: | (NSString *) | deviceId | |
Changes the current video source to a new source based on the provided device ID, for example if there is an external camera connected and a device ID is known.
- (NSArray< MCVideoCapabilities * > *) getCapabilities |
The current set of capabilities configured for the video source.
- (void) setCapability: | (MCVideoCapabilities *) | cap |
Enable a specific video capability on the video source.