gstreamer_webrtc/auto/
web_rtcice_candidate_stats.rs
1use crate::ffi;
7use glib::translate::*;
8
9glib::wrapper! {
10 #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
11 pub struct WebRTCICECandidateStats(Boxed<ffi::GstWebRTCICECandidateStats>);
12
13 match fn {
14 copy => |ptr| ffi::gst_webrtc_ice_candidate_stats_copy(mut_override(ptr)),
15 free => |ptr| ffi::gst_webrtc_ice_candidate_stats_free(ptr),
16 type_ => || ffi::gst_webrtc_ice_candidate_stats_get_type(),
17 }
18}
19
20unsafe impl Send for WebRTCICECandidateStats {}
21unsafe impl Sync for WebRTCICECandidateStats {}