Package com.opentok.android
Interface PublisherKit.VideoStatsListener
-
- Enclosing class:
- PublisherKit
public static interface PublisherKit.VideoStatsListener
Defines the listener object for getting publisher video statistcs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onVideoStats(PublisherKit publisher, PublisherKit.PublisherVideoStats[] stats)
Called periodically to report video statistics for the publisher.
-
-
-
Method Detail
-
onVideoStats
void onVideoStats(PublisherKit publisher, PublisherKit.PublisherVideoStats[] stats)
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.
-
-