2021-10-05 21:28:05 +00:00
|
|
|
[package]
|
|
|
|
name = "webrtcsink"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2018"
|
|
|
|
authors = ["Mathieu Duponchelle <mathieu@centricular.com>"]
|
|
|
|
license = "MIT"
|
|
|
|
description = "GStreamer WebRTC sink"
|
|
|
|
repository = "https://github.com/centricular/webrtcsink/"
|
|
|
|
build = "build.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
2022-09-27 09:42:36 +00:00
|
|
|
gst = { git="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", package = "gstreamer", features = ["v1_20", "serde"] }
|
2022-04-14 12:50:33 +00:00
|
|
|
gst-app = { git="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", package = "gstreamer-app", features = ["v1_20"] }
|
2022-09-27 09:42:36 +00:00
|
|
|
gst-video = { git="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", package = "gstreamer-video", features = ["v1_20", "serde"] }
|
2022-04-14 12:50:33 +00:00
|
|
|
gst-webrtc = { git="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", package = "gstreamer-webrtc", features = ["v1_20"] }
|
|
|
|
gst-sdp = { git="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", package = "gstreamer-sdp", features = ["v1_20"] }
|
|
|
|
gst-rtp = { git="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", package = "gstreamer-rtp", features = ["v1_20"] }
|
2022-05-11 14:41:11 +00:00
|
|
|
gst-utils = { git="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", package = "gstreamer-utils" }
|
2021-10-05 21:28:05 +00:00
|
|
|
once_cell = "1.0"
|
2022-05-11 20:58:53 +00:00
|
|
|
chrono = { version = "0.4", default-features = false }
|
2021-10-05 21:28:05 +00:00
|
|
|
smallvec = "1"
|
|
|
|
anyhow = "1"
|
2021-12-21 22:37:29 +00:00
|
|
|
thiserror = "1"
|
2021-10-05 21:28:05 +00:00
|
|
|
futures = "0.3"
|
2021-11-04 17:26:50 +00:00
|
|
|
async-std = { version = "1", features = ["unstable"] }
|
2022-03-30 15:31:41 +00:00
|
|
|
async-native-tls = { version = "0.4.0" }
|
2022-03-03 03:30:44 +00:00
|
|
|
async-tungstenite = { version = "0.17", features = ["async-std-runtime", "async-native-tls"] }
|
2021-10-05 21:28:05 +00:00
|
|
|
serde = "1"
|
|
|
|
serde_json = "1"
|
|
|
|
fastrand = "1.0"
|
2022-03-03 03:30:44 +00:00
|
|
|
webrtcsink-protocol = { version = "0.1", path="../protocol" }
|
2022-03-30 15:39:19 +00:00
|
|
|
human_bytes = "0.3.1"
|
2021-10-05 21:28:05 +00:00
|
|
|
|
2021-11-30 21:49:33 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
tracing = { version = "0.1", features = ["log"] }
|
2022-01-25 14:24:22 +00:00
|
|
|
tracing-subscriber = { version = "0.3", features = ["registry", "env-filter"] }
|
2021-11-30 21:49:33 +00:00
|
|
|
tracing-log = "0.1"
|
|
|
|
uuid = { version = "0.8", features = ["v4"] }
|
2021-12-09 23:06:46 +00:00
|
|
|
clap = { version = "3.0.0-rc.1", features = ["derive"] }
|
2021-11-30 21:49:33 +00:00
|
|
|
|
2021-10-05 21:28:05 +00:00
|
|
|
[lib]
|
|
|
|
name = "webrtcsink"
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
gst-plugin-version-helper = "0.7"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
static = []
|
|
|
|
capi = []
|
2022-04-14 12:50:33 +00:00
|
|
|
gst1_22 = ["gst/v1_22", "gst-app/v1_22", "gst-video/v1_22", "gst-webrtc/v1_22", "gst-sdp/v1_22", "gst-rtp/v1_22"]
|
2021-10-05 21:28:05 +00:00
|
|
|
|
|
|
|
[package.metadata.capi]
|
|
|
|
min_version = "0.8.0"
|
|
|
|
|
|
|
|
[package.metadata.capi.header]
|
|
|
|
enabled = false
|
|
|
|
|
|
|
|
[package.metadata.capi.library]
|
|
|
|
install_subdir = "gstreamer-1.0"
|
|
|
|
versioning = false
|
|
|
|
|
|
|
|
[package.metadata.capi.pkg_config]
|
2021-11-04 17:26:50 +00:00
|
|
|
requires_private = "gstreamer-rtp >= 1.20, gstreamer-webrtc >= 1.20, gstreamer-1.0 >= 1.20, gstreamer-app >= 1.20, gstreamer-video >= 1.20, gstreamer-sdp >= 1.20, gobject-2.0, glib-2.0, gmodule-2.0"
|
2021-11-30 21:49:33 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "webrtcsink-stats-server"
|