<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
  document.getElementById("a").mozCaptureStream();
}
</script>
</head>

<body onload="boom();">
<audio id="a" src="sound.ogg">
</body>
</html>
