CLUVideoModule

@interface CLUVideoModule : NSObject <CLURecordableModule>

CLUVideoModule is a class (module) for screen recording which implements CLURecordableModule protocol. It’s responsible for thread safety while video recording, operations with CVPixelBufferRef and current view hierarchy drawing (see [UIView drawViewHierarchyInRect:afterScreenUpdates:]) and frames overlapping while recording.

  • BOOL property which indicates whether video recording has started or not

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL isRecording;

    Swift

    var isRecording: Bool { get }