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
|
|
|
|
2023-05-04 05:55:48 +00:00
|
|
|
#![cfg_attr(docsrs, feature(doc_cfg))]
|
2021-07-30 19:23:46 +00:00
|
|
|
#![allow(clippy::missing_safety_doc)]
|
2021-07-30 16:03:12 +00:00
|
|
|
#![doc = include_str!("../README.md")]
|
2020-11-18 12:48:41 +00:00
|
|
|
|
2020-11-22 10:49:02 +00:00
|
|
|
pub use ffi;
|
2020-12-20 17:39:15 +00:00
|
|
|
pub use glib;
|
|
|
|
pub use gst;
|
|
|
|
pub use gst_sdp;
|
2018-03-15 16:04:49 +00:00
|
|
|
|
|
|
|
macro_rules! skip_assert_initialized {
|
2018-04-05 17:41:31 +00:00
|
|
|
() => {};
|
2018-03-15 16:04:49 +00:00
|
|
|
}
|
|
|
|
|
2021-07-30 10:19:24 +00:00
|
|
|
#[allow(clippy::needless_borrow)]
|
2021-11-06 17:09:27 +00:00
|
|
|
#[allow(unused_imports)]
|
2018-03-15 16:04:49 +00:00
|
|
|
mod auto;
|
2020-11-22 10:49:02 +00:00
|
|
|
pub use crate::auto::*;
|
2018-03-15 16:04:49 +00:00
|
|
|
|
2023-05-04 05:55:48 +00:00
|
|
|
#[cfg(feature = "v1_22")]
|
|
|
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
|
2022-08-18 10:48:02 +00:00
|
|
|
mod web_rtc_ice_candidate_stats;
|
2018-04-23 17:37:08 +00:00
|
|
|
mod web_rtc_session_description;
|
2023-05-04 05:55:48 +00:00
|
|
|
#[cfg(feature = "v1_22")]
|
|
|
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
|
2023-04-06 18:10:36 +00:00
|
|
|
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
|
2021-04-27 07:30:13 +00:00
|
|
|
// can always "use gst_webrtc::prelude::*" without getting conflicts
|
2018-03-15 16:04:49 +00:00
|
|
|
pub mod prelude {
|
2023-05-04 05:55:48 +00:00
|
|
|
#[cfg(feature = "v1_22")]
|
|
|
|
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
|
2023-04-07 08:57:01 +00:00
|
|
|
pub use crate::web_rtcice::WebRTCICEExtManual;
|
2020-12-20 17:39:15 +00:00
|
|
|
#[doc(hidden)]
|
|
|
|
pub use gst_sdp::prelude::*;
|
2024-05-02 15:13:27 +00:00
|
|
|
|
|
|
|
#[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
|
|
|
}
|