<div dir="ltr"><div>Hello.</div><div>Under windows7 64bit, 32bit app, libnice version 0.1.13, visual studio 2015</div><div><br></div><div>I'm testing reliable agent.(based sdp-example.c)</div><div><br></div><div>this is my recv callback.<br></div><div><br></div><div>static void cb_nice_recv(<br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>NiceAgent *agent,</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>guint stream_id,</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>guint component_id,</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>guint len,</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>gchar *buf,</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>gpointer user_data)</div><div>{</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>static int total = 0;</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>total += len;</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>printf("received cb = %10d\r", total); // very slow If you comment this line</div><div>}</div><div><br></div><div>under localhost, </div><div>After a connection is established, I send 100MB data to the peer.</div><div>This works fine and It takes about 4 sec.</div><div>But if I remove the printf, it takes about 30 sec to receive.</div><div>Any help or suggestions would be appreciate.<br></div><div><br></div><div>Thank you.</div></div>