onDirectCdnStreamingStats

Reports the CDN streaming statistics.

onDirectCdnStreamingStats?(stats: DirectCdnStreamingStats): void;

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.