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.

Topics

Replay Sharing

class RPScreenRecorder

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

class RPPreviewViewController

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

Media Clip Processing

class RPBroadcastController

An object containing methods for starting and controlling a broadcast.

class RPBroadcastHandler

An object that sends messages to the broadcasting app.

class RPBroadcastSampleHandler

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

class RPBroadcastMP4ClipHandler

An object that processes MP4 movie clips from ReplayKit.

Deprecated

Live Broadcast Implementation

class RPBroadcastActivityViewController

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

class RPBroadcastConfiguration

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

Deprecated

Errors

enum RPRecordingErrorCode

The ReplayKit error domain codes.

RPRecordingErrorDomain

The ReplayKit framework error domain.

Reference

ReplayKit Constants

ReplayKit constants affecting multiple classes.