comment
added real-time recording to the example.