Skip to content

Commit

Permalink
Update auth per note from Dan Hagiiani
Browse files Browse the repository at this point in the history
  • Loading branch information
sarxos committed Mar 29, 2017
1 parent 856c6c2 commit e797e74
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ public static void main(String[] args) throws MalformedURLException {

String name = "Test #255";
String url = "http://ce3014.myfoscam.org:20054/videostream.cgi";

IpCamMode mode = IpCamMode.PUSH;
IpCamAuth auth = new IpCamAuth("user", "user");
IpCamAuth auth = new IpCamAuth("username", "password"); // replace with your own username and password

IpCamDeviceRegistry.register(name, url, mode, auth);

Expand Down

0 comments on commit e797e74

Please sign in to comment.