public static interface PublisherKit.VideoStatsListener
void onVideoStats(PublisherKit publisher, PublisherKit.PublisherVideoStats stats)
publisher- The publisher.
stats- An array of
PublisherKit.PublisherVideoStatsobjects. For a publisher in a routed session (one 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.
PublisherKit.PublisherVideoStats object includes properties.
properties for the video bytes received, video packets lost, and video
packets received for the publisher.