Doracoin / ipcamera-for-android

Automatically exported from code.google.com/p/ipcamera-for-android
0 stars 0 forks source link

No IP address provided #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install app
2. Launch 
3. Touch "start" 

What is the expected output? What do you see instead?

The message the app displays is "Camera is OK. Using browser access: 
http://8080". 

What version of the product are you using? On what operating system?

The code is Rev 64 from the repo here. The device is on WiFi, and the internet 
connection is working. The device is a Nexus7. 

Did I miss a step? 

Original issue reported on code.google.com by pewter.h...@gmail.com on 23 Jul 2012 at 4:23

GoogleCodeExporter commented 9 years ago
The Nexus7 runs Android 4.1.1. 

Original comment by pewter.h...@gmail.com on 23 Jul 2012 at 4:27

GoogleCodeExporter commented 9 years ago
I figured this out, in NetInfoAdapter.getInternetInterface() the code gets the 
first IP address not associated with lo. The Nexus7 had six interfaces, but 
only the wlan0 one has an ip address when WiFi is on. For a quick fix, I 
changed the hardcoded interface name to wlan0 and it started streaming. 

The player displayed at that ip address never displays the video, though, it 
just shows the spinner endlessly. 

Original comment by pewter.h...@gmail.com on 24 Jul 2012 at 3:34

GoogleCodeExporter commented 9 years ago
I also have a nexus 7. Did you ever get the video to stream? I got the app to 
run and I can view the webpage but no video.

Original comment by rickplea...@gmail.com on 18 Oct 2012 at 1:16

GoogleCodeExporter commented 9 years ago
I never did figure out why the video wasn't being displayed, and eventually 
gave up. Sorry. 

Original comment by pewter.h...@gmail.com on 18 Oct 2012 at 4:04

GoogleCodeExporter commented 9 years ago
Darn... Thanks for replying. Looks like i might just launch google hangout and 
run my app in the back ground :/

Original comment by rickplea...@gmail.com on 18 Oct 2012 at 5:17

GoogleCodeExporter commented 9 years ago
I got video streaming working. 

I svn'd rev 66 of this code.

After downloading the lbljingle library, I commented out  LINE 103: 
mediacapture.cpp 
and replaced it with (fillBuffer( buf, 0);)

The video only streams with vlc navigated to http://yourtabletip:8080/live.flv 

There's a 10-ish second delay in video. I'm working on audio next then the lag.

Original comment by rickplea...@gmail.com on 30 Oct 2012 at 3:47

GoogleCodeExporter commented 9 years ago
Sweet! Glad to see somebody's making progress. 

Original comment by pewter.h...@gmail.com on 30 Oct 2012 at 4:18