---
title: "reportRealtimeSampleDeliveryKPIs(session:metKPIs:)"
framework: mediadevice
role: symbol
role_heading: Instance Method
path: "mediadevice/mediadeviceroutingmanager/reportrealtimesampledeliverykpis(session:metkpis:)"
---

# reportRealtimeSampleDeliveryKPIs(session:metKPIs:)

Reports whether the realtime sample delivery session has met its quality KPIs.

## Declaration

```swift
@MainActor final func reportRealtimeSampleDeliveryKPIs(session: MediaOutputSession, metKPIs: Bool)
```

## Parameters

- `session`: The session associated with the realtime delivery.
- `metKPIs`: true if the realtime session met quality KPIs, false otherwise.

## Discussion

Discussion Call this function after stopRealtimeSampleDelivery(session:) to indicate whether the realtime streaming session has met the expected quality thresholds for the duration of the session (e.g., latency, frame rate, audio quality).
