mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-06-02 05:40:31 +00:00
a4a5caec53
- RTP payloader and depayloader - Aggregator to pair per-frame metadata with media frames - Overlay to render detected shapes
18 lines
396 B
Rust
18 lines
396 B
Rust
use gst::glib;
|
|
use gst::prelude::*;
|
|
|
|
mod imp;
|
|
|
|
glib::wrapper! {
|
|
pub struct OnvifPay(ObjectSubclass<imp::OnvifPay>) @extends gst_rtp::RTPBasePayload, gst::Element, gst::Object;
|
|
}
|
|
|
|
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
|
gst::Element::register(
|
|
Some(plugin),
|
|
"rtponvifpay",
|
|
gst::Rank::Primary,
|
|
OnvifPay::static_type(),
|
|
)
|
|
}
|