title: HTML5 Audio Capture - How to truncate recorded audio
body: <p>I am developing a feature to capture audio inside an HTML5 application from a microphone/headset. Using MediaStreamRecorder which works quite nice and I am able to capture all audio. However during playback of the recorded audio I noticed the mouse click which comes from user clicking on the Stop recording button on the scream is also captured. I would like to get rid of it somehow. One idea was to drop the last 0.5-1 sec from the recording but I am not entirely sure how to implement this. Maybe there are some other more appropriate approaches to this as well...</p>
  
  <p>Any suggestions with code samples from the experts would be great.</p>