mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-05-18 16:28:25 +00:00
Merge branch 'quinn-cleanups' into 'main'
Miscellaneous quinn plugin cleanups See merge request gstreamer/gst-plugins-rs!1558
This commit is contained in:
commit
63fd660f3b
|
@ -88,6 +88,7 @@ default-members = [
|
|||
"net/webrtc/protocol",
|
||||
"net/webrtc/signalling",
|
||||
"net/ndi",
|
||||
"net/quinn",
|
||||
|
||||
"text/ahead",
|
||||
"text/json",
|
||||
|
|
|
@ -33,6 +33,9 @@ You will find the following plugins in this repository:
|
|||
|
||||
- `onvif`: Various elements for parsing, RTP (de)payloading, overlaying of ONVIF timed metadata.
|
||||
|
||||
- `quinn`: Transfer data over the network using QUIC
|
||||
- `quinnquicsink`/`quinnquicsrc`: Send and receive data using QUIC
|
||||
|
||||
- `raptorq`: Encoder/decoder element for RaptorQ RTP FEC mechanism.
|
||||
|
||||
- `reqwest`: An HTTP source element based on the [reqwest](https://github.com/seanmonstar/reqwest) library.
|
||||
|
|
|
@ -3896,7 +3896,7 @@
|
|||
"author": "Sanchayan Maity <sanchayan@asymptotic.io>",
|
||||
"description": "Send data over the network via QUIC",
|
||||
"hierarchy": [
|
||||
"GstQuinnQUICSink",
|
||||
"GstQuinnQuicSink",
|
||||
"GstBaseSink",
|
||||
"GstElement",
|
||||
"GstObject",
|
||||
|
@ -4056,7 +4056,7 @@
|
|||
"author": "Sanchayan Maity <sanchayan@asymptotic.io>",
|
||||
"description": "Receive data over the network via QUIC",
|
||||
"hierarchy": [
|
||||
"GstQuinnQUICSrc",
|
||||
"GstQuinnQuicSrc",
|
||||
"GstBaseSrc",
|
||||
"GstElement",
|
||||
"GstObject",
|
||||
|
|
|
@ -324,7 +324,7 @@ impl ObjectImpl for QuinnQuicSink {
|
|||
|
||||
#[glib::object_subclass]
|
||||
impl ObjectSubclass for QuinnQuicSink {
|
||||
const NAME: &'static str = "GstQuinnQUICSink";
|
||||
const NAME: &'static str = "GstQuinnQuicSink";
|
||||
type Type = super::QuinnQuicSink;
|
||||
type ParentType = gst_base::BaseSink;
|
||||
}
|
||||
|
|
|
@ -7,6 +7,19 @@
|
|||
//
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
/**
|
||||
* element-quinnquicsink:
|
||||
* @short-description: Send data over the network via QUIC
|
||||
*
|
||||
* ## Example sender pipeline
|
||||
* ```bash
|
||||
* gst-launch-1.0 -v -e audiotestsrc num-buffers=512 ! \
|
||||
* audio/x-raw,format=S16LE,rate=48000,channels=2,layout=interleaved ! opusenc ! \
|
||||
* quinnquicsink server-name="quic.net" client-address="127.0.0.1" client-port=6001 \
|
||||
* server-address="127.0.0.1" server-port=6000 certificate-file="certificates/fullchain.pem" \
|
||||
* private-key-file="certificates/privkey.pem"
|
||||
* ```
|
||||
*/
|
||||
use gst::glib;
|
||||
use gst::prelude::*;
|
||||
|
||||
|
|
|
@ -315,7 +315,7 @@ impl ObjectImpl for QuinnQuicSrc {
|
|||
|
||||
#[glib::object_subclass]
|
||||
impl ObjectSubclass for QuinnQuicSrc {
|
||||
const NAME: &'static str = "GstQuinnQUICSrc";
|
||||
const NAME: &'static str = "GstQuinnQuicSrc";
|
||||
type Type = super::QuinnQuicSrc;
|
||||
type ParentType = gst_base::BaseSrc;
|
||||
}
|
||||
|
|
|
@ -7,6 +7,19 @@
|
|||
//
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
/**
|
||||
* element-quinnquicsrc:
|
||||
* @short-description: Receive data over the network via QUIC
|
||||
*
|
||||
* ## Example receiver pipeline
|
||||
* ```bash
|
||||
* gst-launch-1.0 -v -e quinnquicsrc caps=audio/x-opus server-name="quic.net" \
|
||||
* certificate-file="certificates/fullchain.pem" private-key-file="certificates/privkey.pem" \
|
||||
* server-address="127.0.0.1" server-port=6000 ! opusparse ! opusdec ! \
|
||||
* audio/x-raw,format=S16LE,rate=48000,channels=2,layout=interleaved ! \
|
||||
* audioconvert ! autoaudiosink
|
||||
* ```
|
||||
*/
|
||||
use gst::glib;
|
||||
use gst::prelude::*;
|
||||
|
||||
|
|
Loading…
Reference in a new issue