Interface PublisherKit.PublisherRtcStatsReportListener

Enclosing class:
PublisherKit

public static interface PublisherKit.PublisherRtcStatsReportListener
Defines the listener object for getting publisher RTC stats reports.
See Also:
  • Method Details

    • onRtcStatsReport

      void onRtcStatsReport(PublisherKit publisher, PublisherKit.PublisherRtcStats[] stats)
      Called when the RTC statistics for the publisher are available, in response to a call to the PublisherKit.getRtcStatsReport() method.
      Parameters:
      publisher - The publisher these statistic apply to.
      stats - The RTC statistics for the publisher, represented as an array of PublisherRtcStats objects. For a routed session (a session 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.