---
title: "processMP4Clip(with:setupInfo:finished:)"
framework: replaykit
role: symbol
role_heading: Instance Method
path: "replaykit/rpbroadcastmp4cliphandler/processmp4clip(with:setupinfo:finished:)"
---

# processMP4Clip(with:setupInfo:finished:)

Processes MP4 movie clips for a live broadcast.

## Declaration

```swift
func processMP4Clip(with mp4ClipURL: URL?, setupInfo: [String : NSObject]?, finished: Bool)
```

## Parameters

- `mp4ClipURL`: URL that points to the location of the movie clip. This parameter is nil when an error occurs.
- `setupInfo`: Dictionary that is supplied by the UI extension and contains setup information required for processing. The values contained in the dictionary are defined by the extension developer.
- `finished`: Boolean value indicating that the app has requested the broadcast to end. Set to doc://com.apple.documentation/documentation/Swift/true to end the broadcast.

## See Also

### Processing MP4 Movie Clips

- [finishedProcessingMP4Clip(withUpdatedBroadcastConfiguration:error:)](replaykit/rpbroadcastmp4cliphandler/finishedprocessingmp4clip(withupdatedbroadcastconfiguration:error:).md)
