mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
4be602a137
Update to C# bindings to use a more recent version of GtkSharp and regenerate the bindings with that version Fix #1718
74 lines
2.5 KiB
C#
74 lines
2.5 KiB
C#
// This file was generated by the Gtk# code generator.
|
|
// Any changes made will be lost if regenerated.
|
|
|
|
namespace Gst.WebRTC {
|
|
|
|
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
|
|
#region Autogenerated code
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public partial struct WebRTCICECandidateStats : IEquatable<WebRTCICECandidateStats> {
|
|
|
|
public string Ipaddr;
|
|
public uint Port;
|
|
public uint StreamId;
|
|
public string Type;
|
|
public string Proto;
|
|
public string RelayProto;
|
|
public uint Prio;
|
|
public string Url;
|
|
[MarshalAs (UnmanagedType.ByValArray, SizeConst=20)]
|
|
public IntPtr[] _gstGstReserved;
|
|
|
|
public static Gst.WebRTC.WebRTCICECandidateStats Zero = new Gst.WebRTC.WebRTCICECandidateStats ();
|
|
|
|
public static Gst.WebRTC.WebRTCICECandidateStats New(IntPtr raw) {
|
|
if (raw == IntPtr.Zero)
|
|
return Gst.WebRTC.WebRTCICECandidateStats.Zero;
|
|
return (Gst.WebRTC.WebRTCICECandidateStats) Marshal.PtrToStructure (raw, typeof (Gst.WebRTC.WebRTCICECandidateStats));
|
|
}
|
|
|
|
[DllImport("gstwebrtc-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
|
|
static extern IntPtr gst_webrtc_ice_candidate_stats_get_type();
|
|
|
|
public static GLib.GType GType {
|
|
get {
|
|
IntPtr raw_ret = gst_webrtc_ice_candidate_stats_get_type();
|
|
GLib.GType ret = new GLib.GType(raw_ret);
|
|
return ret;
|
|
}
|
|
}
|
|
|
|
public bool Equals (WebRTCICECandidateStats other)
|
|
{
|
|
return true && Ipaddr.Equals (other.Ipaddr) && Port.Equals (other.Port) && StreamId.Equals (other.StreamId) && Type.Equals (other.Type) && Proto.Equals (other.Proto) && RelayProto.Equals (other.RelayProto) && Prio.Equals (other.Prio) && Url.Equals (other.Url);
|
|
}
|
|
|
|
public override bool Equals (object other)
|
|
{
|
|
return other is WebRTCICECandidateStats && Equals ((WebRTCICECandidateStats) other);
|
|
}
|
|
|
|
public override int GetHashCode ()
|
|
{
|
|
return this.GetType ().FullName.GetHashCode () ^ Ipaddr.GetHashCode () ^ Port.GetHashCode () ^ StreamId.GetHashCode () ^ Type.GetHashCode () ^ Proto.GetHashCode () ^ RelayProto.GetHashCode () ^ Prio.GetHashCode () ^ Url.GetHashCode ();
|
|
}
|
|
|
|
public static explicit operator GLib.Value (Gst.WebRTC.WebRTCICECandidateStats boxed)
|
|
{
|
|
GLib.Value val = GLib.Value.Empty;
|
|
val.Init (Gst.WebRTC.WebRTCICECandidateStats.GType);
|
|
val.Val = boxed;
|
|
return val;
|
|
}
|
|
|
|
public static explicit operator Gst.WebRTC.WebRTCICECandidateStats (GLib.Value val)
|
|
{
|
|
return (Gst.WebRTC.WebRTCICECandidateStats) val.Val;
|
|
}
|
|
#endregion
|
|
}
|
|
}
|