}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_period_packet_count_set(void * jarg1, void * jarg2) {
+ switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ;
+ switch_size_t arg2 ;
+ switch_size_t *argp2 ;
+
+ arg1 = (switch_rtp_numbers_t *)jarg1;
+ argp2 = (switch_size_t *)jarg2;
+ if (!argp2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0);
+ return ;
+ }
+ arg2 = *argp2;
+ if (arg1) (arg1)->period_packet_count = arg2;
+
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_period_packet_count_get(void * jarg1) {
+ void * jresult ;
+ switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ;
+ switch_size_t result;
+
+ arg1 = (switch_rtp_numbers_t *)jarg1;
+ result = ((arg1)->period_packet_count);
+ jresult = new switch_size_t((switch_size_t &)result);
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_media_packet_count_set(void * jarg1, void * jarg2) {
switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ;
switch_size_t arg2 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_stats_t_read_count_set(void * jarg1, unsigned long jarg2) {
+ switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_rtp_stats_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->read_count = arg2;
+
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_stats_t_read_count_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_rtp_stats_t *)jarg1;
+ result = (uint32_t) ((arg1)->read_count);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_stats_t() {
void * jresult ;
switch_rtp_stats_t *result = 0 ;
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_activate_ice(void * jarg1, char * jarg2, char * jarg3) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_activate_ice(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
+ int jresult ;
+ switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
+ char *arg2 = (char *) 0 ;
+ char *arg3 = (char *) 0 ;
+ char *arg4 = (char *) 0 ;
+ switch_status_t result;
+
+ arg1 = (switch_rtp_t *)jarg1;
+ arg2 = (char *)jarg2;
+ arg3 = (char *)jarg3;
+ arg4 = (char *)jarg4;
+ result = (switch_status_t)switch_rtp_activate_ice(arg1,arg2,arg3,(char const *)arg4);
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_activate_rtcp_ice(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
int jresult ;
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
+ char *arg4 = (char *) 0 ;
switch_status_t result;
arg1 = (switch_rtp_t *)jarg1;
arg2 = (char *)jarg2;
arg3 = (char *)jarg3;
- result = (switch_status_t)switch_rtp_activate_ice(arg1,arg2,arg3);
+ arg4 = (char *)jarg4;
+ result = (switch_status_t)switch_rtp_activate_rtcp_ice(arg1,arg2,arg3,(char const *)arg4);
jresult = result;
return jresult;
}
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_ping(void * jarg1) {
+ switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
+
+ arg1 = (switch_rtp_t *)jarg1;
+ switch_rtp_ping(arg1);
+}
+
+
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_get_default_samples_per_interval(void * jarg1) {
unsigned long jresult ;
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
freeswitchPINVOKE.switch_rtp_destroy(SWIGTYPE_p_p_switch_rtp.getCPtr(rtp_session));
}
- public static switch_status_t switch_rtp_activate_ice(SWIGTYPE_p_switch_rtp rtp_session, string login, string rlogin) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_activate_ice(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), login, rlogin);
+ public static switch_status_t switch_rtp_activate_ice(SWIGTYPE_p_switch_rtp rtp_session, string login, string rlogin, string password) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_activate_ice(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), login, rlogin, password);
+ return ret;
+ }
+
+ public static switch_status_t switch_rtp_activate_rtcp_ice(SWIGTYPE_p_switch_rtp rtp_session, string login, string rlogin, string password) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_activate_rtcp_ice(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), login, rlogin, password);
return ret;
}
return ret;
}
+ public static void switch_rtp_ping(SWIGTYPE_p_switch_rtp rtp_session) {
+ freeswitchPINVOKE.switch_rtp_ping(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session));
+ }
+
public static uint switch_rtp_get_default_samples_per_interval(SWIGTYPE_p_switch_rtp rtp_session) {
uint ret = freeswitchPINVOKE.switch_rtp_get_default_samples_per_interval(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session));
return ret;
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_packet_count_get")]
public static extern IntPtr switch_rtp_numbers_t_packet_count_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_period_packet_count_set")]
+ public static extern void switch_rtp_numbers_t_period_packet_count_set(HandleRef jarg1, HandleRef jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_period_packet_count_get")]
+ public static extern IntPtr switch_rtp_numbers_t_period_packet_count_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_media_packet_count_set")]
public static extern void switch_rtp_numbers_t_media_packet_count_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_rtcp_get")]
public static extern IntPtr switch_rtp_stats_t_rtcp_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_read_count_set")]
+ public static extern void switch_rtp_stats_t_read_count_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_read_count_get")]
+ public static extern uint switch_rtp_stats_t_read_count_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtp_stats_t")]
public static extern IntPtr new_switch_rtp_stats_t();
public static extern void switch_rtp_destroy(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_activate_ice")]
- public static extern int switch_rtp_activate_ice(HandleRef jarg1, string jarg2, string jarg3);
+ public static extern int switch_rtp_activate_ice(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_activate_rtcp_ice")]
+ public static extern int switch_rtp_activate_rtcp_ice(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_activate_rtcp")]
public static extern int switch_rtp_activate_rtcp(HandleRef jarg1, int jarg2, ushort jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_rtp_socket")]
public static extern IntPtr switch_rtp_get_rtp_socket(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_ping")]
+ public static extern void switch_rtp_ping(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_default_samples_per_interval")]
public static extern uint switch_rtp_get_default_samples_per_interval(HandleRef jarg1);
SWITCH_MESSAGE_INDICATE_INFO,
SWITCH_MESSAGE_INDICATE_AUDIO_DATA,
SWITCH_MESSAGE_INDICATE_BLIND_TRANSFER_RESPONSE,
+ SWITCH_MESSAGE_INDICATE_STUN_ERROR,
SWITCH_MESSAGE_INVALID
}
}
}
+ public SWIGTYPE_p_switch_size_t period_packet_count {
+ set {
+ freeswitchPINVOKE.switch_rtp_numbers_t_period_packet_count_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value));
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_numbers_t_period_packet_count_get(swigCPtr), true);
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
public SWIGTYPE_p_switch_size_t media_packet_count {
set {
freeswitchPINVOKE.switch_rtp_numbers_t_media_packet_count_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value));
}
}
+ public uint read_count {
+ set {
+ freeswitchPINVOKE.switch_rtp_stats_t_read_count_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_rtp_stats_t_read_count_get(swigCPtr);
+ return ret;
+ }
+ }
+
public switch_rtp_stats_t() : this(freeswitchPINVOKE.new_switch_rtp_stats_t(), true) {
}