---
title: "reportQualityMetricsPassed(_:forSession:)"
framework: Media Device
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+]
path: "mediadevice/mediadeviceroutingmanager/reportqualitymetricspassed(_:forsession:)"
---

# reportQualityMetricsPassed(_:forSession:)

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

## Declaration

```swift
@MainActor final func reportQualityMetricsPassed(_ thresholdsMet: Bool, forSession session: MediaOutputSession)
```

## Parameters

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

## 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).
