ScreenCaptureController.h 652 B

12345678910111213141516171819202122232425
  1. // From https://github.com/react-native-webrtc/react-native-webrtc (MIT License)
  2. // SPDX-FileCopyrightText: 2023 React-Native-WebRTC authors
  3. // SPDX-License-Identifier: MIT
  4. #import <Foundation/Foundation.h>
  5. #import "CapturerEventsDelegate.h"
  6. NS_ASSUME_NONNULL_BEGIN
  7. extern NSString *const kRTCScreensharingSocketFD;
  8. extern NSString *const kRTCAppGroupIdentifier;
  9. @class ScreenCapturer;
  10. @interface ScreenCaptureController : NSObject
  11. @property(nonatomic, strong) id<CapturerEventsDelegate> eventsDelegate;
  12. - (instancetype)initWithCapturer:(nonnull ScreenCapturer *)capturer;
  13. - (void)startCapture;
  14. - (void)stopCapture;
  15. @end
  16. NS_ASSUME_NONNULL_END