diff options
Diffstat (limited to 'sources/generated/Gst.WebRTC/WebRTCDTLSTransport.cs')
-rw-r--r-- | sources/generated/Gst.WebRTC/WebRTCDTLSTransport.cs | 46 |
1 files changed, 5 insertions, 41 deletions
diff --git a/sources/generated/Gst.WebRTC/WebRTCDTLSTransport.cs b/sources/generated/Gst.WebRTC/WebRTCDTLSTransport.cs index e8fdfd2..300296c 100644 --- a/sources/generated/Gst.WebRTC/WebRTCDTLSTransport.cs +++ b/sources/generated/Gst.WebRTC/WebRTCDTLSTransport.cs @@ -14,21 +14,19 @@ namespace Gst.WebRTC { public WebRTCDTLSTransport (IntPtr raw) : base(raw) {} [DllImport("gstwebrtc-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern IntPtr gst_webrtc_dtls_transport_new(uint session_id, bool rtcp); + static extern IntPtr gst_webrtc_dtls_transport_new(uint session_id); - public WebRTCDTLSTransport (uint session_id, bool rtcp) : base (IntPtr.Zero) + public WebRTCDTLSTransport (uint session_id) : base (IntPtr.Zero) { if (GetType () != typeof (WebRTCDTLSTransport)) { var vals = new List<GLib.Value> (); var names = new List<string> (); names.Add ("session_id"); vals.Add (new GLib.Value (session_id)); - names.Add ("rtcp"); - vals.Add (new GLib.Value (rtcp)); CreateNativeObject (names.ToArray (), vals.ToArray ()); return; } - Raw = gst_webrtc_dtls_transport_new(session_id, rtcp); + Raw = gst_webrtc_dtls_transport_new(session_id); } [GLib.Property ("certificate")] @@ -71,16 +69,6 @@ namespace Gst.WebRTC { } } - [GLib.Property ("rtcp")] - public bool Rtcp { - get { - GLib.Value val = GetProperty ("rtcp"); - bool ret = (bool) val; - val.Dispose (); - return ret; - } - } - [GLib.Property ("session-id")] public uint SessionId { get { @@ -135,15 +123,6 @@ namespace Gst.WebRTC { } } - public bool IsRtcp { - get { - unsafe { - bool* raw_ptr = (bool*)(((byte*)Handle) + abi_info.GetFieldOffset("is_rtcp")); - return (*raw_ptr); - } - } - } - public bool ClientField { get { unsafe { @@ -239,22 +218,14 @@ namespace Gst.WebRTC { , -1 , (uint) Marshal.SizeOf(System.Enum.GetUnderlyingType(typeof(Gst.WebRTC.WebRTCDTLSTransportState))) // state , "transport" - , "is_rtcp" - , (long) Marshal.OffsetOf(typeof(GstWebRTCDTLSTransport_stateAlign), "state") - , 0 - ), - new GLib.AbiField("is_rtcp" - , -1 - , (uint) Marshal.SizeOf(typeof(bool)) // is_rtcp - , "state" , "client" - , (long) Marshal.OffsetOf(typeof(GstWebRTCDTLSTransport_is_rtcpAlign), "is_rtcp") + , (long) Marshal.OffsetOf(typeof(GstWebRTCDTLSTransport_stateAlign), "state") , 0 ), new GLib.AbiField("client" , -1 , (uint) Marshal.SizeOf(typeof(bool)) // client - , "is_rtcp" + , "state" , "session_id" , (long) Marshal.OffsetOf(typeof(GstWebRTCDTLSTransport_clientAlign), "client") , 0 @@ -305,13 +276,6 @@ namespace Gst.WebRTC { } [StructLayout(LayoutKind.Sequential)] - public struct GstWebRTCDTLSTransport_is_rtcpAlign - { - sbyte f1; - private bool is_rtcp; - } - - [StructLayout(LayoutKind.Sequential)] public struct GstWebRTCDTLSTransport_clientAlign { sbyte f1; |