Instance Method

broadcastStarted(withSetupInfo:)

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

Declaration

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

Parameters

setupInfo

Dictionary that is supplied by the UI extension to the sample handler and contains any required setup information.

Discussion

This method is called after the resumeBroadcast() method is called from the broadcasting app.

See Also

Handling Sample Buffer Clips

func broadcastFinished()

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

func broadcastPaused()

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

func broadcastResumed()

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

func finishBroadcastWithError(Error)

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

func processSampleBuffer(CMSampleBuffer, with: RPSampleBufferType)

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