i try your code. unfortunately, program suddenly stop respond and get screen blank. this is bug? i use samsung galaxy tab 2.0:sign0085:You can use this example with a local network or over the internet.
The second case is a bit more complicated. Assuming that you do not have a static ip address you will need to use a third party service that assigns a hostname to your dynamic address.
You will also need to add a "forward port" rule in the router.
There are many online tutorials that can help you with these tasks.
Multi cc tv server and multi cctv client also ia got error connecting. scenario, i connect my pc to galaxy tab 2.0 ip all set, ping is ok but still cannot receive streaming camera from device to pc. any ideas? desperate.Hi Erel,
I thought the example you gave was perfect for spying on the new puppy and expanded on it a little so I could have multiple cameras.
The attached files are the amended app and a new server file which allows up to 4 cameras.
Double clicking the camera view on the server opens a new popup you can watch.
Server is now in vb.net because I don't remember C# :BangHead:
The app itself now has a # button to cycle camera number 1 through 4.
Again, the code is mostly Erel's example, I just added to it. Hope it's useful.
Sub Process_Globals Private frontCamera As Boolean = False Public ServerIp As String Public ServerPort As Int Private IntervalMs As Int = 150 Private lastPreviewSaved As Long End Sub Sub Globals Private Panel1 As Panel Private camEx As CameraExClass Dim edtServerIP As EditText Dim edtServerPort As EditText Dim btnStartStream As Button End Sub Sub btnStartStream_Click ServerIp=edtServerIP.Text ServerPort=edtServerPort.Text StartService(Communicator) End Sub