diff --git a/gir-files/GstWebRTC-1.0.gir b/gir-files/GstWebRTC-1.0.gir
index 6381ff081..d8439c570 100644
--- a/gir-files/GstWebRTC-1.0.gir
+++ b/gir-files/GstWebRTC-1.0.gir
@@ -168,6 +168,8 @@ GST_WEBRTC_DTLS_TRANSPORT_STATE_CONNECTED: connected
+ GST_WEBRTC_ICE_COMPONENT_RTP,
+GST_WEBRTC_ICE_COMPONENT_RTCP,
+
+ GST_WEBRTC_ICE_ROLE_CONTROLLED: controlled
+GST_WEBRTC_ICE_ROLE_CONTROLLING: controlling
+
+
+
+
+
-
+
@@ -395,18 +409,6 @@ See <ulink url="http://w3c.github.io/webrtc-pc/#dom-rtcicegatheringstate">
-
- GST_WEBRTC_ICE_ROLE_CONTROLLED: controlled
-GST_WEBRTC_ICE_ROLE_CONTROLLING: controlling
-
-
-
-
-
GST_WEBRTC_PEER_CONNECTION_STATE_NEW: new
diff --git a/gstreamer-webrtc-sys/src/lib.rs b/gstreamer-webrtc-sys/src/lib.rs
index 18913fd37..fe8ca84d4 100644
--- a/gstreamer-webrtc-sys/src/lib.rs
+++ b/gstreamer-webrtc-sys/src/lib.rs
@@ -50,9 +50,9 @@ pub const GST_WEBRTC_ICE_GATHERING_STATE_NEW: GstWebRTCICEGatheringState = 0;
pub const GST_WEBRTC_ICE_GATHERING_STATE_GATHERING: GstWebRTCICEGatheringState = 1;
pub const GST_WEBRTC_ICE_GATHERING_STATE_COMPLETE: GstWebRTCICEGatheringState = 2;
-pub type GstWebRTCIceRole = c_int;
-pub const GST_WEBRTC_ICE_ROLE_CONTROLLED: GstWebRTCIceRole = 0;
-pub const GST_WEBRTC_ICE_ROLE_CONTROLLING: GstWebRTCIceRole = 1;
+pub type GstWebRTCICERole = c_int;
+pub const GST_WEBRTC_ICE_ROLE_CONTROLLED: GstWebRTCICERole = 0;
+pub const GST_WEBRTC_ICE_ROLE_CONTROLLING: GstWebRTCICERole = 1;
pub type GstWebRTCPeerConnectionState = c_int;
pub const GST_WEBRTC_PEER_CONNECTION_STATE_NEW: GstWebRTCPeerConnectionState = 0;
@@ -233,7 +233,7 @@ impl ::std::fmt::Debug for GstWebRTCDTLSTransport {
#[derive(Copy, Clone)]
pub struct GstWebRTCICETransport {
pub parent: gst::GstObject,
- pub role: GstWebRTCIceRole,
+ pub role: GstWebRTCICERole,
pub component: GstWebRTCICEComponent,
pub state: GstWebRTCICEConnectionState,
pub gathering_state: GstWebRTCICEGatheringState,