[Nice] patch for receiving high bitrate network traffic

Olivier Crête olivier.crete at collabora.com
Mon Jan 6 16:54:55 PST 2014


Hello,

Thank you for your contribution, I push upstream a slightly modified
version of your patch!

Olivier

On Tue, 2013-12-10 at 13:02 +0000, Madaro Livio wrote:
> 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.
> 
> rispetta l'ambienteRispetta l'ambiente. Non stampare questa mail se
> non è necessario. 
> 
> _______________________________________________
> nice mailing list
> nice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nice

-- 
Olivier Crête
olivier.crete at collabora.com



More information about the nice mailing list