<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Also, I notice - from the “gprof” output - that you are streaming Transport Stream files.  Are those the only kinds of files that you are streaming?  Is there anything noteworthy/special about them, or are they just regular Transport Stream files (e.g. containing H.264 video and AAC audio)?<br><br></blockquote><div><br></div><div>Yes. Yes, it is regular TS-files with H.264 and AAC.</div><div><br></div><div>Do you think It can make a difference? Perhaps there is a way to increase the buffer size so that there are fewer read / write operations, and as a consequence fewer operations in the event loop / queue?</div></div></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small">С уважением, Константин Шпинёв</div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small">ООО "Майкроимпульс"</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small">раб.: +7 (499) 647-49-78</div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small"><div>моб.: +7 (906) 844-57-66</div><div>skype: ksot1k<br><a href="http://www.microimpuls.com/" target="_blank" style="color:rgb(17,85,204)">www.microimpuls.com</a></div></div></div></div></div>