gstreamer-rs/gstreamer-webrtc/src/lib.rs

42 lines
1.1 KiB
Rust
Raw Normal View History

2020-12-15 10:53:31 +00:00
// Take a look at the license at the top of the repository in the LICENSE file.
2018-03-15 16:04:49 +00:00
#![cfg_attr(docsrs, feature(doc_cfg))]
2021-07-30 19:23:46 +00:00
#![allow(clippy::missing_safety_doc)]
#![doc = include_str!("../README.md")]
pub use ffi;
pub use glib;
pub use gst;
pub use gst_sdp;
2018-03-15 16:04:49 +00:00
macro_rules! skip_assert_initialized {
() => {};
2018-03-15 16:04:49 +00:00
}
#[allow(clippy::needless_borrow)]
#[allow(unused_imports)]
2018-03-15 16:04:49 +00:00
mod auto;
pub use crate::auto::*;
2018-03-15 16:04:49 +00:00
#[cfg(feature = "v1_22")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
mod web_rtc_ice_candidate_stats;
mod web_rtc_session_description;
#[cfg(feature = "v1_22")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
mod web_rtcice;
2018-04-05 17:53:54 +00:00
2018-03-15 16:04:49 +00:00
// Re-export all the traits in a prelude module, so that applications
// can always "use gst_webrtc::prelude::*" without getting conflicts
2018-03-15 16:04:49 +00:00
pub mod prelude {
#[cfg(feature = "v1_22")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
pub use crate::web_rtcice::WebRTCICEExtManual;
#[doc(hidden)]
pub use gst_sdp::prelude::*;
#[cfg(feature = "v1_22")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
pub use crate::auto::traits::*;
2018-03-15 16:04:49 +00:00
}