Display livestream viewers

Hi,
I’m building a react native application using a custom player to play an api.video live (using the m3u8 file)
I would like to display current viewers of the live. How can i achieve this ?

Thanks for your reply.

Hi,

Currently, there’s not a great way to do this. We are adding webhooks for both livestreams (when they start & stop), and for analytics (session creation & actions - play/pause/seek).

With these, you could measure each new session, and also when the session stops (pause) and restarts again (play)

Short term - you could poll these API endpoints for the same data.

Doug