Stream video statistics

Hello,

Does anyone know if it is possible to get, programmatically, streaming statistics for a given video.

Ideally, I would like to get details of the play sessions and the minutes watched. Any insights would be appreciated.

I think you have to do this yourself. I might be wrong, but I unfortunately don’t see any docs for doing this.

You could probably do this on the client-side in JS by watching the usage of the HTML video tag and reporting it back to the server, but that doesn’t really sound like much fun so maybe CloudFlare will make something that lets you do this?

If not and you do start working on something, please tag me with a GitHub link. I would be more than happy to contribute server-side code if you wanted to do client-side.