Framework

ReplayKit

Record or stream video from the screen, and audio from the app and microphone.

Overview

Using the ReplayKit framework, users can record video from the screen, and audio from the app and microphone. They can then share their recordings with other users through email, messages, and social media. You can build app extensions for live broadcasting your content to sharing services. ReplayKit is incompatible with AVPlayer content.

Symbols

Media Clip Processing

RPBroadcastController

An object containing methods for starting and controlling a broadcast.

RPBroadcastHandler

An object that sends messages to the broadcasting app.

RPBroadcastMP4ClipHandler

An object that processes MP4 movie clips from ReplayKit.

RPBroadcastSampleHandler

An object that processes buffer objects as they are received from ReplayKit.

Live Broadcast Implementation

RPBroadcastActivityViewController

An object that displays a user interface where users choose a broadcast service.

RPBroadcastActivityViewControllerDelegate

The protocol you implement to respond to changes to a broadcast activity user interface.

RPBroadcastConfiguration

An object used to configure the movie clips produced during a live broadcast.

RPBroadcastControllerDelegate

The protocol you implement to respond to changes in a live broadcast.

Replay Sharing

RPPreviewViewController

An object that displays a user interface where users preview and edit a screen recording created with ReplayKit.

RPPreviewViewControllerDelegate

The protocol you implement to respond to changes to a screen-recording user interface.

RPScreenRecorder

The shared recorder object providing the ability to record audio and video of your app.

RPScreenRecorderDelegate

The protocol you implement to receive notifications from the screen recorder.

Constants and Enumerations

ReplayKit Constants

ReplayKit constants affecting multiple classes.

ReplayKit Enumerations

ReplayKit enumerations affecting multiple classes.

Extended Types

NSExtensionContext

Represents the host app context from which an app extension is invoked.