mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-05-18 16:28:27 +00:00
60e8c44abb
Enables subclassing gst_rtsp_server::RTSPAuth and overriding its authenticate/check/generate_authenticate_header methods Also add new methods in RTSPContext to retrieve RTSP request/response, and to get/replace tokens. Additionally, added RTSPMessage with methods to add an authentication header to a request / retrieve authentication parameters from a response. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1359>
36 lines
1.1 KiB
Rust
36 lines
1.1 KiB
Rust
// Take a look at the license at the top of the repository in the LICENSE file.
|
|
|
|
#![allow(clippy::cast_ptr_alignment)]
|
|
|
|
mod rtsp_auth;
|
|
mod rtsp_client;
|
|
mod rtsp_media;
|
|
mod rtsp_media_factory;
|
|
mod rtsp_mount_points;
|
|
mod rtsp_server;
|
|
|
|
mod rtsp_onvif_client;
|
|
mod rtsp_onvif_media;
|
|
mod rtsp_onvif_media_factory;
|
|
mod rtsp_onvif_server;
|
|
|
|
pub use self::rtsp_media::SDPInfo;
|
|
|
|
pub mod prelude {
|
|
#[doc(hidden)]
|
|
pub use gst::subclass::prelude::*;
|
|
|
|
pub use super::{
|
|
rtsp_auth::{RTSPAuthImpl, RTSPAuthImplExt},
|
|
rtsp_client::{RTSPClientImpl, RTSPClientImplExt},
|
|
rtsp_media::{RTSPMediaImpl, RTSPMediaImplExt},
|
|
rtsp_media_factory::{RTSPMediaFactoryImpl, RTSPMediaFactoryImplExt},
|
|
rtsp_mount_points::{RTSPMountPointsImpl, RTSPMountPointsImplExt},
|
|
rtsp_onvif_client::RTSPOnvifClientImpl,
|
|
rtsp_onvif_media::RTSPOnvifMediaImpl,
|
|
rtsp_onvif_media_factory::{RTSPOnvifMediaFactoryImpl, RTSPOnvifMediaFactoryImplExt},
|
|
rtsp_onvif_server::RTSPOnvifServerImpl,
|
|
rtsp_server::{RTSPServerImpl, RTSPServerImplExt},
|
|
};
|
|
}
|