Instance Method

broadcastPaused()

Perform any required actions after a live broadcast is paused.

Declaration

func broadcastPaused()

Discussion

ReplayKit calls this method when the the broadcasting app calls its pauseBroadcast() method.

See Also

Handling Sample Buffer Clips

func broadcastStarted(withSetupInfo: [String : NSObject]?)

Perform any required actions after starting a live broadcast.

func broadcastResumed()

Perform any required actions after a live broadcast is resumed.

func broadcastFinished()

Perform any required actions after a live broadcast is finished.

func broadcastAnnotated(withApplicationInfo: [AnyHashable : Any])

Perform any required actions after starting a live broadcast.

func processSampleBuffer(CMSampleBuffer, with: RPSampleBufferType)

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

func finishBroadcastWithError(Error)

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