MillicastSDK 2.0.0
Loading...
Searching...
No Matches
cm_sample_buffer_renderer.h
Go to the documentation of this file.
2
3NS_ASSUME_NONNULL_BEGIN
4
6MILLICAST_API @protocol MCCMSampleBufferVideoRendererDelegate
7
11- (void) didReceiveSampleBuffer:(CMSampleBufferRef) buffer;
12
13
17- (void) didChangeSize:(CGSize) size;
18@end
19
32
34@property(atomic, readonly) CGSize videoSize;
35
37- (instancetype) init;
38
40- (void) addDelegate: (id<MCCMSampleBufferVideoRendererDelegate>) delegate
41 NS_SWIFT_NAME(addDelegate(_:));
42
44- (void) removeDelegate: (id<MCCMSampleBufferVideoRendererDelegate>) delegate
45 NS_SWIFT_NAME(removeDelegate(_:));
46
47@end
48
49NS_ASSUME_NONNULL_END
#define MILLICAST_API
Definition exports.h:51
Definition cm_sample_buffer_renderer.h:31
CGSize videoSize
The size of the last video frame received.
Definition cm_sample_buffer_renderer.h:34
instancetype init()
Initialize the renderer.
Definition renderer.h:10