streaming audio and video to file