Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ipcamera support #93

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ exclude = [
"rustfmt.toml",
]

[features]
camera-gstreamer18 = ["dep:gstreamer18"]
camera-gstreamer = ["dep:gstreamer"]
Comment on lines +24 to +25
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. I don't know much about gstreamer. Any particular reason why gstreamer 18 support specifically?

gstreamer18 support is needed to build it for raspberrypi (glib dependency).

Gotcha.


[dependencies]
aead = "0.4"
async-trait = "0.1"
Expand All @@ -30,7 +34,7 @@ ed25519-dalek = { version = "1.0", features = ["std", "serde"] }
erased-serde = "0.3"
macaddr = { version = "1.0.1", features = ["serde"] }
futures = "0.3"
get_if_addrs = "0.5"
if-addrs = "0.13.1"
hkdf = "0.11"
hyper = { version = "0.14", features = ["server", "http1"] }
libmdns = "0.6"
Expand All @@ -47,6 +51,10 @@ tokio = "1.8"
url = "2.1"
uuid = { version = "0.8", features = ["v4", "serde"] }
x25519-dalek = "0.6"
base64 = "0.22.1"
hex = "0.4.3"
gstreamer18 = { package = "gstreamer", version = "0.18", optional = true }
gstreamer = { package = "gstreamer", version = "0.23", optional = true }

[build-dependencies]
handlebars = "2.0"
Expand Down
Loading
Loading