mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-27 03:51:05 +00:00
f3bba21faa
Introduce a new `gstreamer-utils` crate where we implement a `StreamProducer` structure that allows "producing" pipeline (Producers) pushing their data to 0 or several "consuming" pipelines. The Producer needs to push their data to an `appsink` which the `StreamProducer` controls and the "consumer" pipelines need to have an AppSrc which the same StreamProducer controls. It allows similare behavior as a `tee` element but with a simpler to handle addition and removal of "consumers" as well as a total decoupling of the various consumer, both between each others and the producer pipeline. This has simply been extracted from [webrtcsink](https://github.com/centricular/webrtcsink/blob/main/plugins/src/webrtcsink/utils.rs)
Symbolic link
1 line
No EOL
17 B
Text
Symbolic link
1 line
No EOL
17 B
Text
../LICENSE-APACHE |