Is it possible to play and record the video data in a buffer?