Interface PublisherKit.PublisherRtcStatsReportListener

    • Method Detail

      • 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 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.