MillicastSDK 2.0.0
Loading...
Searching...
No Matches
screen_share_source.h
Go to the documentation of this file.
1#import <ReplayKit/ReplayKit.h>
2#import <MillicastSDK/exports.h>
5
7MILLICAST_API @interface MCAppShareSource: NSObject
8@property(nonatomic, readonly) NSString * _Nonnull name;
9
10
14-(nonnull instancetype) initWithRecorder:(RPScreenRecorder * _Nonnull) recorder;
15
20-(nonnull instancetype) initWithName: (NSString * _Nonnull ) name recorder: (RPScreenRecorder * _Nonnull) recorder;
21
29-(void) startCaptureWithCompletionHandler: (nonnull void (^)(MCAudioTrack * _Nullable audioTrack, MCVideoTrack * _Nullable videoTrack, NSError * _Nullable))completionHandler;
30
31
35-(void) stopCaptureWithCompletionHandler: (nonnull void (^)(NSError * _Nullable))completionHandler;
36@end
#define MILLICAST_API
Definition exports.h:51
Uses Replaykit to capture the screen of the application.
Definition screen_share_source.h:8
NSString *_Nonnull name
Definition screen_share_source.h:8
Manages and plays a single audio resource.
Definition track.h:51
Responsible for managing video capture session from a video source.
Definition track.h:33