I'm using Wowza to do some VOD streaming, and for each stream, I log the MessagesOutBytes to a MySQL database. Now I want to do some calculations in order to see what percentage of a video a user has watched. The problem that I'm having is that, I need a value to compare MessagesOutBytes to. I know the total file size of the requested video, but I can't use that value to calculate the percentage watched.

So my question is basically, what can I use in Wowza to calculate how much bytes have been used of the total VOD asset file size?

Thanks in advance!