Wowza Community

A question about RandomAccessReader and MediaCache

Hi, I am have been implemented an IRandomAccessReader to read media source from a HTTP server and it worked well. But when I traced the log message, I found a problem, that is my random access reader always make HTTP call to remote server as long as the client play this stream, in other words, MediaCache does not cache the content returned by my random access reader. So, I am confused that, is it MediaCache whether cache the content returned by random access reader? Or may be I am miss someting? Please help! Thanks!:slight_smile:

Hi,

MediaCache will fetch any missing data not located in its store from the source. So it could just be that not all parts of the file were cached at the time you were monitoring and so it fetched more from the HTTP source. If you feel that your code is not working as expected then you may want to open a support ticket and we can take a look for you. Please include all steps needed to reproduce plus any files as required (conf and logs and source etc).

Regards,

Paul