Update for GstWebRTCICERole enum rename

This commit is contained in:
Sebastian Dröge 2018-03-15 17:00:38 +02:00
parent 9c390351c4
commit 3bf11dd4b4
2 changed files with 19 additions and 17 deletions

View file

@ -168,6 +168,8 @@ GST_WEBRTC_DTLS_TRANSPORT_STATE_CONNECTED: connected</doc>
</member> </member>
</enumeration> </enumeration>
<enumeration name="WebRTCICEComponent" c:type="GstWebRTCICEComponent"> <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 name="rtp" value="0" c:identifier="GST_WEBRTC_ICE_COMPONENT_RTP">
</member> </member>
<member name="rtcp" <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"> c:identifier="GST_WEBRTC_ICE_GATHERING_STATE_COMPLETE">
</member> </member>
</enumeration> </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" <class name="WebRTCICETransport"
c:symbol-prefix="webrtc_ice_transport" c:symbol-prefix="webrtc_ice_transport"
c:type="GstWebRTCICETransport" 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"/> <type name="Gst.Object" c:type="GstObject"/>
</field> </field>
<field name="role"> <field name="role">
<type name="WebRTCIceRole" c:type="GstWebRTCIceRole"/> <type name="WebRTCICERole" c:type="GstWebRTCICERole"/>
</field> </field>
<field name="component"> <field name="component">
<type name="WebRTCICEComponent" c:type="GstWebRTCICEComponent"/> <type name="WebRTCICEComponent" c:type="GstWebRTCICEComponent"/>
@ -395,18 +409,6 @@ See &lt;ulink url="http://w3c.github.io/webrtc-pc/#dom-rtcicegatheringstate"&gt;
</array> </array>
</field> </field>
</record> </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" <enumeration name="WebRTCPeerConnectionState"
c:type="GstWebRTCPeerConnectionState"> c:type="GstWebRTCPeerConnectionState">
<doc xml:space="preserve">GST_WEBRTC_PEER_CONNECTION_STATE_NEW: new <doc xml:space="preserve">GST_WEBRTC_PEER_CONNECTION_STATE_NEW: new

View file

@ -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_GATHERING: GstWebRTCICEGatheringState = 1;
pub const GST_WEBRTC_ICE_GATHERING_STATE_COMPLETE: GstWebRTCICEGatheringState = 2; pub const GST_WEBRTC_ICE_GATHERING_STATE_COMPLETE: GstWebRTCICEGatheringState = 2;
pub type GstWebRTCIceRole = c_int; pub type GstWebRTCICERole = c_int;
pub const GST_WEBRTC_ICE_ROLE_CONTROLLED: GstWebRTCIceRole = 0; pub const GST_WEBRTC_ICE_ROLE_CONTROLLED: GstWebRTCICERole = 0;
pub const GST_WEBRTC_ICE_ROLE_CONTROLLING: GstWebRTCIceRole = 1; pub const GST_WEBRTC_ICE_ROLE_CONTROLLING: GstWebRTCICERole = 1;
pub type GstWebRTCPeerConnectionState = c_int; pub type GstWebRTCPeerConnectionState = c_int;
pub const GST_WEBRTC_PEER_CONNECTION_STATE_NEW: GstWebRTCPeerConnectionState = 0; pub const GST_WEBRTC_PEER_CONNECTION_STATE_NEW: GstWebRTCPeerConnectionState = 0;
@ -233,7 +233,7 @@ impl ::std::fmt::Debug for GstWebRTCDTLSTransport {
#[derive(Copy, Clone)] #[derive(Copy, Clone)]
pub struct GstWebRTCICETransport { pub struct GstWebRTCICETransport {
pub parent: gst::GstObject, pub parent: gst::GstObject,
pub role: GstWebRTCIceRole, pub role: GstWebRTCICERole,
pub component: GstWebRTCICEComponent, pub component: GstWebRTCICEComponent,
pub state: GstWebRTCICEConnectionState, pub state: GstWebRTCICEConnectionState,
pub gathering_state: GstWebRTCICEGatheringState, pub gathering_state: GstWebRTCICEGatheringState,