Commit 3bf11dd4 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Update for GstWebRTCICERole enum rename

parent 9c390351
......@@ -168,6 +168,8 @@ GST_WEBRTC_DTLS_TRANSPORT_STATE_CONNECTED: connected</doc>
</member>
</enumeration>
<enumeration name="WebRTCICEComponent" c:type="GstWebRTCICEComponent">
<doc xml:space="preserve">GST_WEBRTC_ICE_COMPONENT_RTP,
GST_WEBRTC_ICE_COMPONENT_RTCP,</doc>
<member name="rtp" value="0" c:identifier="GST_WEBRTC_ICE_COMPONENT_RTP">
</member>
<member name="rtcp"
......@@ -233,6 +235,18 @@ See &lt;ulink url="http://w3c.github.io/webrtc-pc/#dom-rtcicegatheringstate"&gt;
c:identifier="GST_WEBRTC_ICE_GATHERING_STATE_COMPLETE">
</member>
</enumeration>
<enumeration name="WebRTCICERole" c:type="GstWebRTCICERole">
<doc xml:space="preserve">GST_WEBRTC_ICE_ROLE_CONTROLLED: controlled
GST_WEBRTC_ICE_ROLE_CONTROLLING: controlling</doc>
<member name="controlled"
value="0"
c:identifier="GST_WEBRTC_ICE_ROLE_CONTROLLED">
</member>
<member name="controlling"
value="1"
c:identifier="GST_WEBRTC_ICE_ROLE_CONTROLLING">
</member>
</enumeration>
<class name="WebRTCICETransport"
c:symbol-prefix="webrtc_ice_transport"
c:type="GstWebRTCICETransport"
......@@ -331,7 +345,7 @@ See &lt;ulink url="http://w3c.github.io/webrtc-pc/#dom-rtcicegatheringstate"&gt;
<type name="Gst.Object" c:type="GstObject"/>
</field>
<field name="role">
<type name="WebRTCIceRole" c:type="GstWebRTCIceRole"/>
<type name="WebRTCICERole" c:type="GstWebRTCICERole"/>
</field>
<field name="component">
<type name="WebRTCICEComponent" c:type="GstWebRTCICEComponent"/>
......@@ -395,18 +409,6 @@ See &lt;ulink url="http://w3c.github.io/webrtc-pc/#dom-rtcicegatheringstate"&gt;
</array>
</field>
</record>
<enumeration name="WebRTCIceRole" c:type="GstWebRTCIceRole">
<doc xml:space="preserve">GST_WEBRTC_ICE_ROLE_CONTROLLED: controlled
GST_WEBRTC_ICE_ROLE_CONTROLLING: controlling</doc>
<member name="controlled"
value="0"
c:identifier="GST_WEBRTC_ICE_ROLE_CONTROLLED">
</member>
<member name="controlling"
value="1"
c:identifier="GST_WEBRTC_ICE_ROLE_CONTROLLING">
</member>
</enumeration>
<enumeration name="WebRTCPeerConnectionState"
c:type="GstWebRTCPeerConnectionState">
<doc xml:space="preserve">GST_WEBRTC_PEER_CONNECTION_STATE_NEW: new
......
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment