mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-14 05:21:29 +00:00
webrtc: Fix manual data channel code
The corresponding API shouldn't have been public and is not public anymore with 1.20.
This commit is contained in:
parent
72da9ea826
commit
223a12597c
2 changed files with 0 additions and 16 deletions
|
@ -26,9 +26,6 @@ macro_rules! skip_assert_initialized {
|
|||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
mod web_rtc_data_channel;
|
||||
mod web_rtc_session_description;
|
||||
|
||||
// Re-export all the traits in a prelude module, so that applications
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use crate::WebRTCDataChannel;
|
||||
use glib::translate::*;
|
||||
|
||||
impl WebRTCDataChannel {
|
||||
#[doc(alias = "gst_webrtc_data_channel_on_error")]
|
||||
pub fn on_error(&self, error: glib::Error) {
|
||||
unsafe {
|
||||
ffi::gst_webrtc_data_channel_on_error(self.to_glib_none().0, error.into_raw());
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue