FreeSWITCH.Native.freeswitch.switch_rtp_new C# (CSharp) Method

switch_rtp_new() public static method

public static switch_rtp_new ( string rx_host, ushort rx_port, string tx_host, ushort tx_port, byte payload, uint samples_per_interval, uint ms_per_packet, uint flags, string timer_name, string &err, SWIGTYPE_p_apr_pool_t pool ) : SWIGTYPE_p_switch_rtp
rx_host string
rx_port ushort
tx_host string
tx_port ushort
payload byte
samples_per_interval uint
ms_per_packet uint
flags uint
timer_name string
err string
pool SWIGTYPE_p_apr_pool_t
return SWIGTYPE_p_switch_rtp
        public static SWIGTYPE_p_switch_rtp switch_rtp_new(string rx_host, ushort rx_port, string tx_host, ushort tx_port, byte payload, uint samples_per_interval, uint ms_per_packet, uint flags, string timer_name, ref string err, SWIGTYPE_p_apr_pool_t pool)
        {
            IntPtr cPtr = freeswitchPINVOKE.switch_rtp_new(rx_host, rx_port, tx_host, tx_port, payload, samples_per_interval, ms_per_packet, flags, timer_name, ref err, SWIGTYPE_p_apr_pool_t.getCPtr(pool));
            SWIGTYPE_p_switch_rtp ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_rtp(cPtr, false);
            return ret;
        }
freeswitch