Good day!
I'm trying to determine how much of video is loaded (in seconds). When I try something (stream.bytesLoaded / stream.bytesTotal) * video.duration
the result is not accurate because distribution of video stream size is not uniform inside the file.
For example if video starts with static part with video title or blank screen, the size of this part is much less (in other words compressed better) than other video with fast movements. As far as I understand MP4 is adaptive and the more movement is in the video the more space it will take.
I tried to use seek points (time + offset) defined in mp4 and it works and is really accurate, but I don't really want to depend on them.
Thanks for any advices!