import{Shout}from'libshout';asyncfunctionrun(){constshout=newShout();shout.setHost('127.0.0.1');shout.setProtocol(0);shout.setPort(8000);shout.setPassword('hackme');shout.setMount('/example.ogg');shout.setUser('source');shout.setFormat(0);shout.open();constfd=awaitfs.promises.open(path.resolve(__dirname,'audio.ogg'),'r');consttmp=Buffer.allocUnsafe(1024*4);while(1){const{bytesRead}=awaitfd.read(tmp,0,tmp.byteLength,null);if(bytesRead){shout.send(tmp.buffer.slice(0,bytesRead));}else{break;}shout.sync();}shout.close();}