gst-plugins-rs/net/onvif/src/onvifmetadatapay/mod.rs
Sebastian Dröge 420f36251a onvif: Rename onvif(de)pay to rtponvifmetadata(de)pay and include the metadata specifier in the other element names too
This is more descriptive and avoids any future conflicts with other
kinds of ONVIF specific RTP (de)payloaders.
2022-08-31 13:00:53 +03:00

18 lines
428 B
Rust

use gst::glib;
use gst::prelude::*;
mod imp;
glib::wrapper! {
pub struct OnvifMetadataPay(ObjectSubclass<imp::OnvifMetadataPay>) @extends gst_rtp::RTPBasePayload, gst::Element, gst::Object;
}
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"rtponvifmetadatapay",
gst::Rank::Primary,
OnvifMetadataPay::static_type(),
)
}