TCP out node multi-connection bug

Hi,

I'm trying to create an IP microphone server using sox-record and tcp-out node.

Everything works, i can connect from multiple computers using VLC. The tcp out node status shows "2 connections" for example.

But when i close one of the two VLC players, the status box drops to "0 connections" and the other VLC player stops receiving the stream. I can reconnect, but when i close a player, the other stops too.

Tested with 5 VLC instances too, tcp-out node shows 5 connections as expected and all of them are working. But:
When I close one of them, sometimes an another VLC stops, the counter shows 3 connections after 5.

Is this a bug, or i miss something?

[{"id":"d261283a459569df","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"186fa1d5e4a0ace5","type":"subflow","name":"Subflow 1","info":"","in":[{"x":60,"y":300,"wires":[]}],"out":[]},{"id":"9faf6efc5002df94","type":"trigger","z":"186fa1d5e4a0ace5","name":"","op1":"1","op2":"0","op1type":"val","op2type":"val","duration":"250","extend":"false","overrideDelay":"false","units":"ms","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":380,"y":300,"wires":[[]]},{"id":"d786908ee0e20260","type":"sox-record","z":"d261283a459569df","name":"","buttonStart":"msg","inputs":1,"inputSource":"1,0","manualSource":"","inputEncoding":"signed-integer","inputChannels":1,"inputRate":16000,"inputBits":16,"byteOrder":"-L","encoding":"signed-integer","channels":"1","rate":"48000","bits":"16","gain":"-5","buffer":"1024","showDuration":false,"durationType":"forever","durationLength":"0","silenceDetection":"nothing","silenceDuration":"2.0","silenceThreshold":"2.0","outputFormat":"stream","manualPath":"","debugOutput":false,"x":270,"y":60,"wires":[["9a6e2c30970cc444"],["050b087408efc5eb"]]},{"id":"050b087408efc5eb","type":"debug","z":"d261283a459569df","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":530,"y":160,"wires":[]},{"id":"f8923a7963a9ae73","type":"start-up-trigger","z":"d261283a459569df","x":140,"y":240,"wires":[["f009b8008b388638"]]},{"id":"f009b8008b388638","type":"change","z":"d261283a459569df","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"start","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":140,"y":140,"wires":[["d786908ee0e20260"]]},{"id":"9a6e2c30970cc444","type":"tcp out","z":"d261283a459569df","name":"","host":"","port":"65000","beserver":"server","base64":false,"end":false,"tls":"","x":480,"y":20,"wires":[]}]

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.