1// Take a look at the license at the top of the repository in the LICENSE file.
23#![cfg_attr(docsrs, feature(doc_cfg))]
4#![allow(clippy::missing_safety_doc)]
5#![allow(clippy::manual_c_str_literals)]
6#![doc = include_str!("../README.md")]
78pub use glib;
9pub use gst;
10pub use gst_sdp;
11pub use gstreamer_webrtc_sys as ffi;
1213macro_rules! skip_assert_initialized {
14 () => {};
15}
1617#[allow(clippy::needless_borrow)]
18#[allow(unused_imports)]
19mod auto;
20pub use crate::auto::*;
2122#[cfg(feature = "v1_22")]
23#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
24mod web_rtc_ice_candidate_stats;
25mod web_rtc_session_description;
26#[cfg(feature = "v1_22")]
27#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
28mod web_rtcice;
2930// Re-export all the traits in a prelude module, so that applications
31// can always "use gst_webrtc::prelude::*" without getting conflicts
32pub mod prelude {
33#[cfg(feature = "v1_22")]
34 #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
35pub use crate::web_rtcice::WebRTCICEExtManual;
36#[doc(hidden)]
37pub use gst_sdp::prelude::*;
3839#[cfg(feature = "v1_22")]
40 #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
41pub use crate::auto::traits::*;
42}