OpenTok C SDK
|
#include <publisher.h>
Data Fields | |
void * | user_data |
void(* | on_rtc_stats_report )(otc_publisher *publisher, void *user_data, const struct otc_publisher_rtc_stats *stats, size_t entries) |
void * | reserved |
Defines the struct for setting the publisher RTC stats report callack.
void(* on_rtc_stats_report) (otc_publisher *publisher, void *user_data, const struct otc_publisher_rtc_stats *stats, size_t entries) |
Defines the callback function for getting subscriber RTC stats reports.
publisher | The instance invoking this call. |
stats | A pointer to an array defining the RTC statistics for the publisher. For a routed session (a seesion that uses the OpenTok Media Router), this array includes one element, 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. |
entries | The size of the stats array. |
void* user_data |
Pointer to user custom data bound to this struct.