MillicastSDK 2.2.0
|
Gathers information about the source. More...
#include <source.h>
Instance Methods | |
(MCTrack *) | - startCapture |
(void) | - onPixelBuffer: |
(void) | - onPixelBuffer:withTimestamp: |
(bool) | - isCapturing |
(void) | - stopCapture |
Stops capturing video. | |
Gathers information about the source.
- (bool) isCapturing |
Query whether the source is currently capturing.
- (void) onPixelBuffer: | (CVPixelBufferRef) | pixelBuffer |
To be called whenever the application wishes to feed a CVPixelBuffer to the source. This API does not copy the CVPixelBuffer if using H.264, which is hardware accelerated on Apple platforms. If using codecs other than H.264, an internal copy of the frame will occur.
- (void) onPixelBuffer: | (CVPixelBufferRef) | pixelBuffer | |
withTimestamp: | (CMTime) | timestamp |
To be called whenever the application wishes to feed a CVPixelBuffer to the source along with a timestamp.
- (MCTrack *) startCapture |
- (void) stopCapture |
Stops capturing video.