Cloudflare Docs
Visit Stream on GitHub
Set theme to dark (⇧+D)

Live viewer counts for third party players

The Stream player has full support for live viewer counts by default. To get the viewer count for live videos for use with third party players, make a GET request to the /views endpoint.

Below is a response for a live video with several active viewers:

{"liveViewers": 113}