Add method to take snapshots from video stream.