Framework

ReplayKit

Record or stream video from the screen and audio from the app and microphone, so that users can share their experiences through email, messages, and social media.

Overview

The ReplayKit framework provides the ability to record video from the screen and audio from the app and microphone. Users can then share the resulting recording with other users through social media, and you can build app extensions for live broadcasting your content to sharing services. ReplayKit is not compatible with AVPlayer content.

Symbols

Handling Media Clips

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 CMSampleBuffer objects as they are received from ReplayKit.

Implementing and Configuring a Live Broadcast

RPBroadcastActivityViewController

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

RPBroadcastActivityViewControllerDelegate

The protocol you implement to respond to changes to a broadcast activity user interface, represented by a RPBroadcastActivityViewController.

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.

Creating and Sharing a Replay

RPPreviewViewController

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

RPPreviewViewControllerDelegate

The protocol you implement to respond to changes to a screen recording user interface, represented by a RPPreviewViewController object.

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 an RPScreenRecorder object.

Reference

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.