csharp: GstRtspServer: update for new API in 1.28
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9620>
This commit is contained in:
parent
3765169973
commit
b2daa4400d
@ -29,6 +29,22 @@ namespace Gst.RtspServer {
|
||||
Marshal.FreeHGlobal (native_tr);
|
||||
}
|
||||
|
||||
[DllImport("gstrtspserver-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
static extern void gst_rtsp_stream_transport_set_timed_out(IntPtr raw, bool timedout);
|
||||
|
||||
[GLib.Property ("timed-out")]
|
||||
public bool TimedOut {
|
||||
get {
|
||||
GLib.Value val = GetProperty ("timed-out");
|
||||
bool ret = (bool) val;
|
||||
val.Dispose ();
|
||||
return ret;
|
||||
}
|
||||
set {
|
||||
gst_rtsp_stream_transport_set_timed_out(Handle, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Internal representation of the wrapped structure ABI.
|
||||
static GLib.AbiStruct _class_abi = null;
|
||||
@ -252,15 +268,6 @@ namespace Gst.RtspServer {
|
||||
}
|
||||
}
|
||||
|
||||
[DllImport("gstrtspserver-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
static extern void gst_rtsp_stream_transport_set_timed_out(IntPtr raw, bool timedout);
|
||||
|
||||
public bool TimedOut {
|
||||
set {
|
||||
gst_rtsp_stream_transport_set_timed_out(Handle, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static RTSPStreamTransport ()
|
||||
{
|
||||
|
@ -38342,6 +38342,7 @@
|
||||
</parameter>
|
||||
</parameters>
|
||||
</method>
|
||||
<property name="TimedOut" cname="timed-out" type="gboolean" readable="true" writeable="false" construct="false" construct-only="false" version="1.28" />
|
||||
<field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GObject*" hidden="true" />
|
||||
<field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GstRTSPStreamTransportPrivate*">
|
||||
<warning>missing glib:type-name</warning>
|
||||
|
@ -38732,6 +38732,7 @@
|
||||
</parameter>
|
||||
</parameters>
|
||||
</method>
|
||||
<property name="TimedOut" cname="timed-out" type="gboolean" readable="true" writeable="false" construct="false" construct-only="false" version="1.28"/>
|
||||
<field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GObject*"/>
|
||||
<field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GstRTSPStreamTransportPrivate*">
|
||||
<warning>missing glib:type-name</warning>
|
||||
|
Loading…
x
Reference in New Issue
Block a user