I would like to play audio from a web socket that sends packages of sound data of unknown total length. The playback should start as soon as the first package arrives and it should not be interrupted by new packages. What I have done so far: However, to my knowledge, it is not possible to extend the size of ArrayBuffer