After reading a bit more about how to create P2P networks function, I wanted to start my own peer-to-peer
sockets creation.
I'm working on some apps for the android platform and I have problem that I'm not quite sure how to approach, and both are closely related.
Is it possible to create a temporary p2p live data stream
from one android device to another ?
i want to pass video, audio and image files from phone A's to phone B.
I would much appreciate being pointed in the right direction on either issue (File transfer or real time data transfer) if possible give me any sample application on this.
With Bluetooth Sockets
http://homepages.ius.edu/RWISMAN/C490/html/Android-Bluetooth.htm
After this you can download the file from following link in this i created a Bluetooth Server for PC and an Android client to transfer files but first carefully go through the previous answer and then download the file and then read the Read Me first.txt file for installation instruction
https://rapidshare.com/files/3100729241/Read%20Me%20First.rar
In SIP context, P2P network provides distributed peer location and service advertisement service. Peers advertise and learn each other's locations and services on a P2P network without the need for proxy servers.
Therefore, both of your questions are not SIP specific. You need to use one of the many techniques to locate and join P2P overlays. Once you learn about a peer location, you can proceed to sending SIP messages.
SIP is a signalling protocol. It provide a set of mechanism to help establishing sessions. Data streams transmission, in your case, is not of SIP's concern. The details of file transfer in SIP/SDP is documented in RFC5547.
To learn about SIP, the best place to start is the RFC3261. RFC3665 has really helpful call flow diagrams. RFC5441 lists SIP related RFCs. Also checkout P2PSIP WG's RELOAD protocol.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With