mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-03 07:48:48 +00:00
Move net/quic to net/quinn
While at it, add this to meson.build. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1036>
This commit is contained in:
parent
18cf5292b7
commit
0d2f054c15
13 changed files with 10 additions and 8 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -2642,7 +2642,7 @@ dependencies = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "gst-plugin-quic"
|
name = "gst-plugin-quinn"
|
||||||
version = "0.13.0-alpha.1"
|
version = "0.13.0-alpha.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytes",
|
"bytes",
|
||||||
|
|
|
@ -34,7 +34,7 @@ members = [
|
||||||
"net/webrtc",
|
"net/webrtc",
|
||||||
"net/webrtc/protocol",
|
"net/webrtc/protocol",
|
||||||
"net/webrtc/signalling",
|
"net/webrtc/signalling",
|
||||||
"net/quic",
|
"net/quinn",
|
||||||
|
|
||||||
"text/ahead",
|
"text/ahead",
|
||||||
"text/json",
|
"text/json",
|
||||||
|
|
|
@ -205,6 +205,7 @@ plugins = {
|
||||||
'extra-deps': {'cairo-gobject': []},
|
'extra-deps': {'cairo-gobject': []},
|
||||||
},
|
},
|
||||||
'gopbuffer': {'library': 'libgstgopbuffer'},
|
'gopbuffer': {'library': 'libgstgopbuffer'},
|
||||||
|
'quinn': {'library': 'libgstquinn'},
|
||||||
}
|
}
|
||||||
|
|
||||||
if get_option('examples').allowed()
|
if get_option('examples').allowed()
|
||||||
|
|
|
@ -34,6 +34,7 @@ option('rtsp', type: 'feature', value: 'auto', description: 'Build rtsp plugin')
|
||||||
option('rtp', type: 'feature', value: 'auto', description: 'Build rtp plugin')
|
option('rtp', type: 'feature', value: 'auto', description: 'Build rtp plugin')
|
||||||
option('webrtc', type: 'feature', value: 'auto', yield: true, description: 'Build webrtc plugin')
|
option('webrtc', type: 'feature', value: 'auto', yield: true, description: 'Build webrtc plugin')
|
||||||
option('webrtchttp', type: 'feature', value: 'auto', description: 'Build webrtchttp plugin')
|
option('webrtchttp', type: 'feature', value: 'auto', description: 'Build webrtchttp plugin')
|
||||||
|
option('quinn', type: 'feature', value: 'auto', description: 'Build quinn plugin')
|
||||||
|
|
||||||
# text
|
# text
|
||||||
option('textahead', type: 'feature', value: 'auto', description: 'Build textahead plugin')
|
option('textahead', type: 'feature', value: 'auto', description: 'Build textahead plugin')
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "gst-plugin-quic"
|
name = "gst-plugin-quinn"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
authors = ["Sanchayan Maity <sanchayan@asymptotic.io"]
|
authors = ["Sanchayan Maity <sanchayan@asymptotic.io"]
|
||||||
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
||||||
|
@ -28,7 +28,7 @@ gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org
|
||||||
serial_test = "3"
|
serial_test = "3"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "gstquic"
|
name = "gstquinn"
|
||||||
crate-type = ["cdylib", "rlib"]
|
crate-type = ["cdylib", "rlib"]
|
||||||
path = "src/lib.rs"
|
path = "src/lib.rs"
|
||||||
required-features = ["tls-rustls"]
|
required-features = ["tls-rustls"]
|
|
@ -9,9 +9,9 @@
|
||||||
#![allow(clippy::non_send_fields_in_send_ty, unused_doc_comments)]
|
#![allow(clippy::non_send_fields_in_send_ty, unused_doc_comments)]
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* plugin-quic:
|
* plugin-quinn:
|
||||||
*
|
*
|
||||||
* Since: plugins-rs-0.11.0
|
* Since: plugins-rs-0.13.0
|
||||||
*/
|
*/
|
||||||
use gst::glib;
|
use gst::glib;
|
||||||
mod quinnquicsink;
|
mod quinnquicsink;
|
||||||
|
@ -26,7 +26,7 @@ fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||||
}
|
}
|
||||||
|
|
||||||
gst::plugin_define!(
|
gst::plugin_define!(
|
||||||
quic,
|
quinn,
|
||||||
env!("CARGO_PKG_DESCRIPTION"),
|
env!("CARGO_PKG_DESCRIPTION"),
|
||||||
plugin_init,
|
plugin_init,
|
||||||
concat!(env!("CARGO_PKG_VERSION"), "-", env!("COMMIT_ID")),
|
concat!(env!("CARGO_PKG_VERSION"), "-", env!("COMMIT_ID")),
|
|
@ -17,7 +17,7 @@ fn init() {
|
||||||
|
|
||||||
INIT.call_once(|| {
|
INIT.call_once(|| {
|
||||||
gst::init().unwrap();
|
gst::init().unwrap();
|
||||||
gstquic::plugin_register_static().expect("QUIC source sink send receive tests");
|
gstquinn::plugin_register_static().expect("QUIC source sink send receive tests");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue