diff --git a/net/webrtchttp/src/lib.rs b/net/webrtchttp/src/lib.rs index 0cf8932a..f284b6ad 100644 --- a/net/webrtchttp/src/lib.rs +++ b/net/webrtchttp/src/lib.rs @@ -33,6 +33,8 @@ pub enum IceTransportPolicy { fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { #[cfg(feature = "doc")] { + use gst::prelude::*; + IceTransportPolicy::static_type().mark_as_plugin_api(gst::PluginAPIFlags::empty()); } whipsink::register(plugin)?;