onDirectCdnStreamingStats

Reports the CDN streaming statistics.

virtual void onDirectCdnStreamingStats(const DirectCdnStreamStats& stats)  {
  (void)stats;
};

When the host directly pushes media streams to the CDN, the SDK triggers this callback every one second.

Parameters

stats
The statistics of the current CDN streaming. See DirectCdnStreamingStats.