0

I'm developing an application in which i want to connect two android phones over different networks and then want to stream user's video to one another with their own video e-g a user can see their own video and also the video of the friend who is connected with him over network.I want to do this thing without a server..Is it possible ??

Shine
  • 3,788
  • 1
  • 36
  • 59
  • You may refer to the answer to http://stackoverflow.com/questions/27443372/live-stream-peer-to-peer – headuck Sep 16 '15 at 07:19
  • I guess you can, if you somehow come to know IP of both devices, then all will be remaining is opening a socket and pumping data through it. But know both devices IP will be an challenge, without having access to NAT. – Techfist Sep 16 '15 at 07:34
  • Removed real-time tag, grammar fixes – Shine Sep 18 '15 at 08:04

1 Answers1

0

I think this is possible see nanohttpd and you will have to connect both device using your app in same network and stream to a port listen to port

Rajnish Mishra
  • 826
  • 5
  • 21