Redundant code ?
I was looking through your project because i am making a similar app myself, and i realized that when you are creating a worker (inside runMediasoupWorkers()) you allocated a map for multiple things inside the appdata of the worker (inside the mediasoup.observer.on('newworker') event handler): like routers, transports, producers,consumers, dataproducers and dataconsumers, but you only seem to be using the routers object to store routers and inside thos routers the transports, you don't seem to be storing transports inside the workers. It seems like it's redundent code. Am i correct in this analysis or is there a purpose to this code. Or maybe it's just old code and that's fine as well, don't seem to be hurting anything.