Remove push notifications for now

This commit is contained in:
QuantumEntangledAndy committed 2024-10-24 11:49:17 +07:00
1 parent a14336fe3c
commit 13081f745f
5 files changed
+10 -6

No files matched your search

+1 -1
View File
@@ -27,4 +27,4 @@
token.toml
# Debug FCM build
./crates/fcm-push-listener/
crates/fcm-push-listener
+1 -1
View File
@@ -47,7 +47,7 @@ validator = {version="0.18.1", features = ["derive"] }
tikv-jemallocator = "0.5"
[features]
default = ["gstreamer", "pushnoti"]
default = ["gstreamer"]
gstreamer = [
"dep:gstreamer",
"dep:gstreamer-app",
+8 -2
View File
@@ -455,6 +455,10 @@ after it stops being used.
Neolink considers it as being used if there is an active stream running, or
if there is motion being detected or an mqtt command being run
[Because google remove the api for the push notifications we cannot
reliably use push notifications to wake up, so motion won't wake
up neolink anymore]
You can make neolink stop active streams when there are no rtsp clients using
```toml
@@ -465,9 +469,11 @@ You can make neolink stop active streams when there are no rtsp clients using
Once in the disconnected state. Neolink will stay disconnected until there is a
new requested activation such as a client connecting or an mqtt command
Neolink will also wake up on push notifications from the camera. These are usually
~Neolink will also wake up on push notifications from the camera. These are usually
sent by the camera on motion or PIR alarms. To disable this you can set
`push_notifications = false` in the `[[cameras]]` config
`push_notifications = false` in the `[[cameras]]` config~
[Google removed the apis we were using for push notifications]
### Docker
Submodule crates/fcm-push-listener deleted from 07eff6b087.
-1
View File
@@ -9,7 +9,6 @@ edition = "2021"
anyhow = "1.0.71"
clap = { version = "4.2.2", features = ["derive", "cargo"] }
env_logger = "0.10.0"
# fcm-push-listener = { path = "../fcm-push-listener" }
fcm-push-listener = { version = "2.0.3" }
lazy_static = "1.4.0"
log = { version = "0.4.17", features = [ "release_max_level_debug" ] }