[libnice] Dividing data for UDP packets in nice_agent_send

Olivier Crête olivier.crete at collabora.com
Tue Jun 17 09:15:58 PDT 2014


Hi,

If you're not in reliable mode, each call to nice_agent_send() will
result in one UDP packet.


On Tue, 2014-06-17 at 13:35 +0200, Radosław Kołodziejczyk wrote:
> Hello all,
> 
> 
> I have a question about nice_agent_send. We're writing an app that
> would like to wrap a very minimal protocol around UDP transport to
> have a kind of minimalistic error detection. To do so we would have to
> make sure that each of our data packets are delivered in one UDP
> packet (or at least make it as likely as possible). Is there a way to
> determine what's max buffer size that can be passed to libnice's
> nice_agent_send function so that it would not divide the data while
> sending it to the remote side?
> 
> 
> Kind regards,
> Radosław Kołodziejczyk.
> _______________________________________________
> 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