Streaming Statistics
Get Live unique viewers via CDN
Calculates time series of unique viewers of Live streams via CDN.
The statistics are taken from the data of CDN and work regardless of which player the views were made with.
Works similar to the method /statistics/cdn/uniqs. But this allows you to break down data with the specified granularity: minutes, hours, days.
Based on this method, a graph of unique views in the Customer Portal is built.

get/streaming/statistics/stream/viewers
Query parameters
fromstring required
Start of time frame. Format is date time in ISO 8601
tostring required
End of time frame. Format is date time in ISO 8601
stream_idinteger
Filter by "stream_id"
client_user_idinteger
Filter by "client_user_id"
granularity'1m' | '5m' | '15m' | '1h' | '1d'
Specifies the time interval for grouping data
Response
OK