diff --git a/platypush/backend/http/static/js/plugins/camera.android.ipcam/index.js b/platypush/backend/http/static/js/plugins/camera.android.ipcam/index.js
index 30695cd7a..05d725581 100644
--- a/platypush/backend/http/static/js/plugins/camera.android.ipcam/index.js
+++ b/platypush/backend/http/static/js/plugins/camera.android.ipcam/index.js
@@ -86,9 +86,9 @@ Vue.component('camera-android-ipcam', {
                             cam[attr] = cam[attr].replace('https://', 'http://');
                         }
 
-                        if (cam[name] in this.config && this.config[cam[name]].username) {
-                            cam[attr] = 'http://' + this.config[cam[name]].username + ':' +
-                                this.config[cam[name]].password + cam[attr].substr(7);
+                        if (cam.name in this.config.cameras && this.config.cameras[cam.name].username) {
+                            cam[attr] = 'http://' + this.config.cameras[cam.name].username + ':' +
+                                this.config.cameras[cam.name].password + cam[attr].substr(7);
                         }
                     }