SamuelScheit / puppeteer-stream

A Library for puppeteer to retrieve audio and/or video streams
MIT License
357 stars 114 forks source link

listen on port 0 instead of incrementing port #159

Open Vap0r1ze opened 4 months ago

Vap0r1ze commented 4 months ago

listening on port 0 will allow the system to choose a free port for you, you'll just need to call wss.address() after the listening event fires in order to get the chosen port.