blob: 7f3189257eecb31390f8ce8cf50989d40dc23b2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<html>
<head>
<script>
function start () {
const context = new AudioContext();
const {stream} = new MediaStreamAudioDestinationNode(context);
const [track] = stream.getTracks();
track.stop();
context.createMediaStreamTrackSource(track);
}
document.addEventListener('DOMContentLoaded', start);
</script>
</head>
</html>
|