onDirectCdnStreamingStats

Reports the CDN streaming statistics.

final void Function(DirectCdnStreamingStats stats)? onDirectCdnStreamingStats;

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.