OTPublisherKitRtcStatsReportDelegate

Used for sending messages reporting publisher RTC statistics. Set the [OTPublisherKit rtcStatsReportDelegate] property to use this delegate. After you call the [OTPublisherKit getRtcStatsReport] method, the [OTPublisherKitRtcStatsReportDelegate publisher:rtcStatsReport:] message is sent to report the stats.

Methods

Name Description
publisher:rtcStatsReport:(publisher, stats) Sent when the RTC statistics for the publisher are available, in response to a call to the [OTPublisherKit rtcStatsReportDelegate] method.

publisher:rtcStatsReport:(publisher, stats)

Sent when the RTC statistics for the publisher are available, in response to a call to the [OTPublisherKit rtcStatsReportDelegate] method.

Parameters:
Name Type Description
publisher OTPublisherKit * The publisher these statistic apply to.
stats NSArray<OTPublisherRtcStats *> * The RTC statistics for the publisher, represented as an array of OTPublisherRtcStats objects. For a routed session (a seesion that uses the OpenTok Media Router), this array includes one object, defining the statistics for the single video media stream that is sent to the OpenTok Media Router. In a relayed session, the array includes an object for each subscriber to the published stream.