InAppScreenCaptureSource
@available(iOS 11.0, *)
@objcMembers
public class InAppScreenCaptureSource : NSObject, VideoCaptureSource
InAppScreenCaptureSource
is used to share screen capture within the app. When the app is in the background,
there is no sample sent to handler, and screen sharing is paused. InAppScreenCaptureSource
is only available
on iOS 11+ because of RPScreenRecorder.startCapture(handler:completionHandler:)
method.
InAppScreenCaptureSource
does not support rotation while it’s in progress.
-
Declaration
Swift
public var videoContentHint: VideoContentHint
-
Declaration
Swift
public init(logger: Logger)
-
Declaration
Swift
public func start()
-
Declaration
Swift
public func stop()
-
Declaration
Swift
public func addVideoSink(sink: VideoSink)
-
Declaration
Swift
public func removeVideoSink(sink: VideoSink)
-
Declaration
Swift
public func addCaptureSourceObserver(observer: CaptureSourceObserver)
-
Declaration
Swift
public func removeCaptureSourceObserver(observer: CaptureSourceObserver)