2018-03-19 18:49:25 +00:00
|
|
|
// 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
|
|
|
|
public partial class Global {
|
|
|
|
|
2019-10-24 14:00:17 +00:00
|
|
|
[DllImport("gstwebrtc-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
|
2018-03-19 18:49:25 +00:00
|
|
|
static extern IntPtr gst_webrtc_sdp_type_to_string(int type);
|
|
|
|
|
|
|
|
public static string WebrtcSdpTypeToString(Gst.WebRTC.WebRTCSDPType type) {
|
|
|
|
IntPtr raw_ret = gst_webrtc_sdp_type_to_string((int) type);
|
|
|
|
string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
}
|