---
title: broadcastFinished()
framework: replaykit
role: symbol
role_heading: Instance Method
path: replaykit/rpbroadcastsamplehandler/broadcastfinished()
---

# broadcastFinished()

Perform any required actions after a live broadcast is finished.

## Declaration

```swift
func broadcastFinished()
```

## Discussion

Discussion ReplayKit calls this method when the the broadcasting app calls its finishBroadcast(handler:) method.

## See Also

### Handling Sample Buffer Clips

- [broadcastStarted(withSetupInfo:)](replaykit/rpbroadcastsamplehandler/broadcaststarted(withsetupinfo:).md)
- [broadcastPaused()](replaykit/rpbroadcastsamplehandler/broadcastpaused().md)
- [broadcastResumed()](replaykit/rpbroadcastsamplehandler/broadcastresumed().md)
- [broadcastAnnotated(withApplicationInfo:)](replaykit/rpbroadcastsamplehandler/broadcastannotated(withapplicationinfo:).md)
- [RPApplicationInfoBundleIdentifierKey](replaykit/rpapplicationinfobundleidentifierkey.md)
- [processSampleBuffer(_:with:)](replaykit/rpbroadcastsamplehandler/processsamplebuffer(_:with:).md)
- [RPVideoSampleOrientationKey](replaykit/rpvideosampleorientationkey.md)
- [finishBroadcastWithError(_:)](replaykit/rpbroadcastsamplehandler/finishbroadcastwitherror(_:).md)
