Who can tell some PjSIP support for large message transfer using TCP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Nanang lzzuddin,

Large message? Do you mean pjsip 1.3 supports sending large message such as
big files? Does it do that using MSRP protocol?

2009/7/14 Nanang Izzuddin <nanang at pjsip.org>

> Hi,
>
> On Tue, Jul 14, 2009 at 4:31 PM, Qh guo<rashaguo at gmail.com> wrote:
> > Hi,
> >
> > PjSIP 1.3 said it supported large message transfer switching TCP
> > automatically.
> >
> > So my question is: How large can it transfer using send_request_msg() in
> a
> > call?
>
> Not sure if I got the question right. The feature of auto-switch to
> TCP in 1.3 is: whenever the SIP message size (that is about to be sent
> via UDP) exceeds PJSIP_UDP_SIZE_THRESHOLD (default value is 1300
> bytes), the stack will automatically switch transport to TCP, if it
> fails (e.g: timeout, TCP transport not available), the message will
> still be sent via UDP. While maximum message size is configurable via
> PJSIP_MAX_PKT_LEN (default is 2000 bytes).
>
> >
> > For application, Does it need do extra efforts to deal with the large
> > message receiving. Eg: wait until the end of the message.
>
> No.
>
> >
> > or the PjSIP has done this for us and we just using the callback of the
> > PjSIP.
>
> Yes.
>
> Regards,
> nanang
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090715/795ac455/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux