File Transfer Using Pjsip

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

 



Thanks for the help !!! :)


On Wed, Apr 10, 2013 at 5:32 PM, Askar Safin <safinaskar at mail.ru> wrote:

> > So should i code for handling the packet delivery and packet sequence
> information or can I assume that these things are already handled.
> Yes, you should handle package delivery etc, because this is UDP.
>
> 1. Find "icedemo" program in the pjsip source tree (this program does
> nearly exactly what you what, i. e.: it sends some data via UDP)
> 2. Find place in "icedemo" program where it sends data. Replace this code
> with code which sends data your want.
> 3. Add some delivery checking
> 4. Done
>
> Alternatively, you can look into libnice library (it has some bonus, look
> below) ( http://nice.freedesktop.org/ ). (Sorry, for advertisement of
> competitor library :)
>
> 1. Find the "simple-example" example in the libnice source tree (it was
> added recently, so you need lastest sources). This program also does nearly
> you wants.
> 2. Again, replace code which sends data
> 3. BONUS! libnice (unlike pjsip, as well as I know) has pseudo tcp sockets
> (something like tcp over udp). If you use it, you will not need to handle
> delivery etc. So, try to add pseudo tcp sockets to "simple-example". If you
> success, then please say me about this (to my personal e-mail (of course,
> you may send e-mail to pjsip too)).
> 4. Done
>
> Askar Safin
> _______________________________________________
> 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
>



-- 
Udit Agarwal
B.Tech. ( Information Technology ) , 8th Semester,
Indian Institute of Information Technology
Allahabad - 211012, India
Email : uditiiita at gmail.com
Mobile: +91-9411656264
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130410/1bedd83f/attachment-0001.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