Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

cant stream video #14

Open
sebadamus opened this issue Jan 1, 2014 · 3 comments
Open

cant stream video #14

sebadamus opened this issue Jan 1, 2014 · 3 comments

Comments

@sebadamus
Copy link

Justo installed, no firewall on my phone, it tells me to open on http://30.0.0.101:8080 (this is my network) but when I open it on another pc or on my cellphone (where I installed WiFi camera) it keeps searching but nothing shows :(

@dev-jonghoonpark
Copy link

I changed getLocalIpAddress(), and it worked

public String getLocalIpAddress()
{
WifiManager wifiManager = (WifiManager) getSystemService(WIFI_SERVICE);
WifiInfo wifiInfo = wifiManager.getConnectionInfo();
int ipAddress = wifiInfo.getIpAddress();
String sIp = String.format("%d.%d.%d.%d", (ipAddress & 0xff), (ipAddress >> 8 & 0xff),
(ipAddress >> 16 & 0xff), (ipAddress >> 24 & 0xff));
return sIp;
}

@rishisanju
Copy link

some bdy plz mail me the complete code in zip format m unable to run it.
whenever i tried to run it,it shows some msg n unfortuntly closes

@rishisanju
Copy link

maa email id [email protected]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants