<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaDevice",
  "identifier" : "/documentation/MediaDevice/MediaDeviceRoutingManager/reportQualityMetricsPassed(_:forSession:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Media Device"
    ],
    "preciseIdentifier" : "s:11MediaDevice0aB14RoutingManagerC26reportQualityMetricsPassed_10forSessionySb_AA0a6OutputJ0CtF"
  },
  "title" : "reportQualityMetricsPassed(_:forSession:)"
}
-->

# reportQualityMetricsPassed(_:forSession:)

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

```
@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

Call this function after [`stopRealtimeSampleDelivery(session:)`](/documentation/MediaDevice/RealtimeSampleHandling/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).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)