stopRecording

Stops the current recording session. Recorded section could be replayed with replay function.

Return

the ByteBuffer containing the recorded sequence in raw format.