public static interface PublisherKit.PublisherRtcStatsReportListener
Modifier and Type | Method and Description |
---|---|
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. |
void onRtcStatsReport(PublisherKit publisher, PublisherKit.PublisherRtcStats[] stats)
PublisherKit.getRtcStatsReport()
method.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.