MeetingSDKScreenSharing.h

Includes:
<UIKit/UIKit.h>
<ReplayKit/ReplayKit.h>

Introduction

Use the links in the table of contents to the left to access the documentation.



Methods


broadcastFinished


- (void)broadcastFinished;  
Discussion

The method to call when you receive the broadcastFinished callback in your screen sharing extension


broadcastPaused


- (void)broadcastPaused;  
Discussion

The method to call when you receive the broadcastPaused callback in your screen sharing extension


broadcastResumed


- (void)broadcastResumed;  
Discussion

The method to call when you receive the broadcastResumed callback in your screen sharing extension


broadcastStartedWithSetupInfo:


- (void)broadcastStartedWithSetupInfo:(NSDictionary<NSString *,NSObject *> *)setupInfo;  
Parameters
setupInfo

The dictionary of key-value pairs that was passed to the broadcastStartedWithSetupInfo callback in your screen sharing extension

Discussion

The method to call when you receive the broadcastStartedWithSetupInfo callback in your screen sharing extension


processSampleBuffer:withType:


- (void)processSampleBuffer:(CMSampleBufferRef)sampleBuffer 
        withType:(RPSampleBufferType)sampleBufferType;  
Parameters
sampleBuffer

The actual frame data received from iOS by your screen sharing extension. Simply pass the argument received by your corresponding callback to this method.

sampleBufferType

The actual frame data type received from iOS by your screen sharing extension. Simply pass the argument received by your corresponding callback to this method.

Discussion

The method to call when you receive the broadcastPaused callback in your screen sharing extension


setAppGroupId:


- (void)setAppGroupId:(NSString *)argAppGroup;  
Parameters
argAppGroup

The name of the AppGroup ID to use

Discussion

Tells the MeetingSDKScreenSharing class what AppGroup ID to use when storing individual frames coming from the operating system


sharedInstance


+(MeetingSDKScreenSharing *)sharedInstance;  
Discussion

The shared instance for this singleton. Always use this static method to get the shared instance of MeetingSDKScreenSharing before calling any of the other methods in this class.