[Nice] patch for receiving high bitrate network traffic

Madaro Livio livio.madaro at telecomitalia.it
Tue Dec 10 05:02:45 PST 2013


Hi,
I've have a problem receiving high bitrate network data.
In my use case the transmitter sends high bitrate traffic in small packets (1500 byte). All the packets are received by the receiver host but few of them are "lost" by libnice.
I think the problem is that in the callback "nice_agent_g_source_cb" only one packet is read from the socket. I think that if new packets arrives while libnice is processing  the callback then "nice_agent_g_source_cb" is not called again for the new packets.

I patched libnice by reading all socket packets in the callback nice_agent_g_source_cb
I send the patch for review. What do you think?

Regards,
Livio


Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.

This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks.

[cid:00000000000000000000000000000003 at TI.Disclaimer]Rispetta l'ambiente. Non stampare questa mail se non ? necessario.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nice/attachments/20131210/95eadeed/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Read-all-socket-data-in-nice_agent_g_source_cb.patch
Type: application/octet-stream
Size: 4121 bytes
Desc: 0001-Read-all-socket-data-in-nice_agent_g_source_cb.patch
URL: <http://lists.freedesktop.org/archives/nice/attachments/20131210/95eadeed/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo Ambiente_foglia2.jpg
Type: image/jpeg
Size: 677 bytes
Desc: logo Ambiente_foglia2.jpg
URL: <http://lists.freedesktop.org/archives/nice/attachments/20131210/95eadeed/attachment.jpg>


More information about the nice mailing list