2022-08-16 14:44:41 +00:00
|
|
|
/**
|
|
|
|
* plugin-rswebrtc:
|
|
|
|
*
|
|
|
|
* Since: plugins-rs-0.9
|
|
|
|
*/
|
2021-10-05 21:28:05 +00:00
|
|
|
use gst::glib;
|
|
|
|
|
2022-05-11 20:58:53 +00:00
|
|
|
pub mod gcc;
|
2021-10-05 21:28:05 +00:00
|
|
|
mod signaller;
|
|
|
|
pub mod webrtcsink;
|
|
|
|
|
|
|
|
fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
|
|
|
webrtcsink::register(plugin)?;
|
2022-05-11 20:58:53 +00:00
|
|
|
gcc::register(plugin)?;
|
2021-10-05 21:28:05 +00:00
|
|
|
|
|
|
|
Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
gst::plugin_define!(
|
2022-08-16 14:44:41 +00:00
|
|
|
rswebrtc,
|
2021-10-05 21:28:05 +00:00
|
|
|
env!("CARGO_PKG_DESCRIPTION"),
|
|
|
|
plugin_init,
|
|
|
|
concat!(env!("CARGO_PKG_VERSION"), "-", env!("COMMIT_ID")),
|
2022-10-11 05:55:11 +00:00
|
|
|
"MPL-2.0",
|
2021-10-05 21:28:05 +00:00
|
|
|
env!("CARGO_PKG_NAME"),
|
|
|
|
env!("CARGO_PKG_NAME"),
|
|
|
|
env!("CARGO_PKG_REPOSITORY"),
|
|
|
|
env!("BUILD_REL_DATE")
|
|
|
|
);
|