pub type MediaCaptureFailedEventHandler = *mut c_void;