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_rtsp_sys as ffi;
1213macro_rules! assert_initialized_main_thread {
14 () => {
15if !gst::INITIALIZED.load(std::sync::atomic::Ordering::SeqCst) {
16 gst::assert_initialized();
17 }
18 };
19}
2021macro_rules! skip_assert_initialized {
22 () => {};
23}
2425#[allow(unused_imports)]
26mod auto;
27pub use crate::auto::*;
2829#[cfg(feature = "serde")]
30mod flag_serde;
3132pub mod rtsp_auth_credential;
33pub mod rtsp_message;
3435// Re-export all the traits in a prelude module, so that applications
36// can always "use gst_rtsp::prelude::*" without getting conflicts
37pub mod prelude {
38#[doc(hidden)]
39pub use gst_sdp::prelude::*;
40}