<div dir="ltr"><div class="gmail_extra">The first question is your architecture.</div><div class="gmail_extra"><br></div><div class="gmail_extra">If you want to make gen_tcp:send to different sockets from one process, then you have wrong architecture and need to change all this.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Flussonic has rtmp server inside and after some performance optimizations (all are high-level, algorithmic) it can send 1-3 gbit/s via rtmp.  But it is the top.  RTMP is a dead protocol, you are just wasting your time on it because till the end of 2017 it will be disabled in almost all browsers.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>