<div dir="ltr"><div class="gmail_extra">1) You need to start fixing your decoder that have to handle network delays.</div><div class="gmail_extra"><br></div><div class="gmail_extra">2) if you write a proxy, then you don't need to worry about "realtime":  receive frame and forward it.  6ms will be spent inside erlang only if you write at least 100-300K of useless LOC that do nothing. In flussonic we measure microseconds.</div><div class="gmail_extra"><br></div><div class="gmail_extra">3) you need to stop thinking about "latency and realtime" in erlang and start looking at tcpdump and understanding that TCP is a source of latency problem in p2p video streaming.</div></div>