Contents

reportQualityMetricsPassed(_:forSession:)

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

Declaration

@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:) 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).