ReplayKitSource
@objcMembers
public class ReplayKitSource : VideoSource
ReplayKitSource repackages CMSampleBuffer objects from ReplayKit into SDK
usable VideoFrame objects. It currently supports resending video frames to maintain a
minimum frame rate.
It does not directly contain any system library calls that actually captures the screen.
Builders can use InAppScreenCaptureSourceto share screen from only their application.
For device level screen broadcast, take a look at the SampleHandler in AmazonChimeSDKDemoBroadcast.
-
Declaration
Swift
public var videoContentHint: VideoContentHint -
Declaration
Swift
public init(logger: Logger) -
Declaration
Swift
public func stop() -
Declaration
Swift
public func addVideoSink(sink: VideoSink) -
Declaration
Swift
public func removeVideoSink(sink: VideoSink) -
Declaration
Swift
public func processSampleBuffer(sampleBuffer: CMSampleBuffer, type: RPSampleBufferType)