1

My application must stream device camera over 3g connection to server .

I follow this question link and use with success libstreaming (spydroid streaming lib) on wifi.

If device and server aren't on same lan, I need a 3g connection to do same thing, but I think there are problems caused by NAT .

Packets of libstreaming are sent by UDP , and over 3g they are blocked.

There are other solutions? Maybe using streaming over TCP I can reach my purpose.

Community
  • 1
  • 1
tulkas85
  • 1,103
  • 1
  • 17
  • 43

1 Answers1

0

When you are outside of the NAT you can't send data inside.

Unless:

  1. Someone asks for that data.
    • In case 1 you need to make a UDP server with the fix IP and request its data by IP:PORT
  2. Using port forwarding.

    • In case 2 you need to set a port forwarding at the router level.
M at
  • 1,020
  • 1
  • 12
  • 26