Track audio and video buffering.
Hello,
I'm working on the development of a tool that plays two audio files and one video file simutaneously.
All the files need to play together at the exact same time, so that the audio syncs with the video.
Our situation right now is that each one of the files start playing at different times depending on how fast they are loading.
The problem is, my programmer is telling me that there is no way to track the buffer of the audio, so for example, the video only starts playing when at least 30% of the audio is loaded. Is it possible to do this?
The video player would then display something like:
Audio 1 loading - 23%
Audio 2 loading -14%
Video loading -56%
The video only start playing when both audios are at 30% for example.
This is what I need, can anyone shed any light for me? Thanks!