consolidated duplicate code
don't cache video streams for now