Class

RPBroadcastSampleHandler

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

Declaration

@interface RPBroadcastSampleHandler : RPBroadcastHandler

Overview

Subclass this class to handle CMSampleBufferRef objects as they are captured by ReplayKit. Enable this mode of handling by setting RPBroadcastProcessMode in the extension's Info.plist file to RPBroadcastProcessModeSampleBuffer.

Topics

Handling Sample Buffer Clips

- broadcastFinished

Performs any actions that are required after the live broadcast is finished.

- broadcastPaused

Performs any actions that are required after a live broadcast is paused.

- broadcastResumed

Performs any actions that are required after a live broadcast is resumed.

- broadcastStartedWithSetupInfo:

Performs any actions that are required after a live broadcast has started.

- finishBroadcastWithError:

Stops the broadcast and passes an error back to the broadcasting app.

- processSampleBuffer:withType:

Processes video and audio data as it becomes available during a live broadcast.

Relationships

Inherits From

See Also

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.

Deprecated