Exemplo n.º 1
0
        public static bool RtcpBufferMap(Gst.Buffer buffer, Gst.MapFlags flags, Gst.Rtp.RTCPBuffer rtcp)
        {
            IntPtr native_rtcp = GLib.Marshaller.StructureToPtrAlloc(rtcp);
            bool   raw_ret     = gst_rtcp_buffer_map(buffer == null ? IntPtr.Zero : buffer.Handle, (int)flags, native_rtcp);
            bool   ret         = raw_ret;

            Marshal.FreeHGlobal(native_rtcp);
            return(ret);
        }
Exemplo n.º 2
0
 static void ReadNative(IntPtr native, ref Gst.Rtp.RTCPBuffer target)
 {
     target = New(native);
 }