Package com.opentok.android
Interface PublisherKit.VideoStatsListener
- Enclosing class:
PublisherKit
public static interface PublisherKit.VideoStatsListener
Defines the listener object for getting publisher video statistics.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onVideoStats
(PublisherKit publisher, PublisherKit.PublisherVideoStats[] stats) Called periodically to report video statistics for the publisher.
-
Method Details
-
onVideoStats
Called periodically to report video statistics for the publisher.- Parameters:
publisher
- The publisher.stats
- An array ofPublisherKit.PublisherVideoStats
objects. 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.The
PublisherKit.PublisherVideoStats
object includes properties. properties for the video bytes received, video packets lost, and video packets received for the publisher.
-