reswig
This commit is contained in:
parent
39200cd13b
commit
4a51650b16
|
@ -3016,7 +3016,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RECOMMENDED_BUFFER_SIZE_get() {
|
||||||
int jresult ;
|
int jresult ;
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
result = (int)(4096);
|
result = (int)(8192);
|
||||||
jresult = result;
|
jresult = result;
|
||||||
return jresult;
|
return jresult;
|
||||||
}
|
}
|
||||||
|
@ -29061,8 +29061,8 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_slin_data_frame_data_set(void * jarg1,
|
||||||
arg2 = (char *)jarg2;
|
arg2 = (char *)jarg2;
|
||||||
{
|
{
|
||||||
if(arg2) {
|
if(arg2) {
|
||||||
strncpy((char*)arg1->frame_data, (const char *)arg2, 4096-1);
|
strncpy((char*)arg1->frame_data, (const char *)arg2, 8192-1);
|
||||||
arg1->frame_data[4096-1] = 0;
|
arg1->frame_data[8192-1] = 0;
|
||||||
} else {
|
} else {
|
||||||
arg1->frame_data[0] = 0;
|
arg1->frame_data[0] = 0;
|
||||||
}
|
}
|
||||||
|
@ -33927,7 +33927,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_write_frame_data_set(
|
||||||
{
|
{
|
||||||
size_t ii;
|
size_t ii;
|
||||||
switch_byte_t *b = (switch_byte_t *) arg1->write_frame_data;
|
switch_byte_t *b = (switch_byte_t *) arg1->write_frame_data;
|
||||||
for (ii = 0; ii < (size_t)4096; ii++) b[ii] = *((switch_byte_t *) arg2 + ii);
|
for (ii = 0; ii < (size_t)8192; ii++) b[ii] = *((switch_byte_t *) arg2 + ii);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37655,6 +37655,14 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_udptl_mode(void * jarg1) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_reset(void * jarg1) {
|
||||||
|
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
|
||||||
|
|
||||||
|
arg1 = (switch_rtp_t *)jarg1;
|
||||||
|
switch_rtp_reset(arg1);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_local_address(void * jarg1, char * jarg2, unsigned short jarg3, void * jarg4) {
|
SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_local_address(void * jarg1, char * jarg2, unsigned short jarg3, void * jarg4) {
|
||||||
int jresult ;
|
int jresult ;
|
||||||
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
|
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
|
||||||
|
@ -37943,13 +37951,13 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_get_default_payload(void
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_invald_handler(void * jarg1, void * jarg2) {
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_invalid_handler(void * jarg1, void * jarg2) {
|
||||||
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
|
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
|
||||||
switch_rtp_invalid_handler_t arg2 = (switch_rtp_invalid_handler_t) 0 ;
|
switch_rtp_invalid_handler_t arg2 = (switch_rtp_invalid_handler_t) 0 ;
|
||||||
|
|
||||||
arg1 = (switch_rtp_t *)jarg1;
|
arg1 = (switch_rtp_t *)jarg1;
|
||||||
arg2 = (switch_rtp_invalid_handler_t)jarg2;
|
arg2 = (switch_rtp_invalid_handler_t)jarg2;
|
||||||
switch_rtp_set_invald_handler(arg1,arg2);
|
switch_rtp_set_invalid_handler(arg1,arg2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6104,6 +6104,10 @@ public class freeswitch {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void switch_rtp_reset(SWIGTYPE_p_switch_rtp rtp_session) {
|
||||||
|
freeswitchPINVOKE.switch_rtp_reset(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session));
|
||||||
|
}
|
||||||
|
|
||||||
public static switch_status_t switch_rtp_set_local_address(SWIGTYPE_p_switch_rtp rtp_session, string host, ushort port, ref string err) {
|
public static switch_status_t switch_rtp_set_local_address(SWIGTYPE_p_switch_rtp rtp_session, string host, ushort port, ref string err) {
|
||||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_set_local_address(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), host, port, ref err);
|
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_set_local_address(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), host, port, ref err);
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -6211,8 +6215,8 @@ public class freeswitch {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void switch_rtp_set_invald_handler(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void on_invalid) {
|
public static void switch_rtp_set_invalid_handler(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void on_invalid) {
|
||||||
freeswitchPINVOKE.switch_rtp_set_invald_handler(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void.getCPtr(on_invalid));
|
freeswitchPINVOKE.switch_rtp_set_invalid_handler(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void.getCPtr(on_invalid));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static switch_status_t switch_rtp_read(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_void data, SWIGTYPE_p_unsigned_long datalen, SWIGTYPE_p_unsigned_char payload_type, SWIGTYPE_p_unsigned_long flags, uint io_flags) {
|
public static switch_status_t switch_rtp_read(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_void data, SWIGTYPE_p_unsigned_long datalen, SWIGTYPE_p_unsigned_char payload_type, SWIGTYPE_p_unsigned_long flags, uint io_flags) {
|
||||||
|
@ -16374,6 +16378,9 @@ class freeswitchPINVOKE {
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_udptl_mode")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_udptl_mode")]
|
||||||
public static extern int switch_rtp_udptl_mode(HandleRef jarg1);
|
public static extern int switch_rtp_udptl_mode(HandleRef jarg1);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_reset")]
|
||||||
|
public static extern void switch_rtp_reset(HandleRef jarg1);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_local_address")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_local_address")]
|
||||||
public static extern int switch_rtp_set_local_address(HandleRef jarg1, string jarg2, ushort jarg3, ref string jarg4);
|
public static extern int switch_rtp_set_local_address(HandleRef jarg1, string jarg2, ushort jarg3, ref string jarg4);
|
||||||
|
|
||||||
|
@ -16443,8 +16450,8 @@ class freeswitchPINVOKE {
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_default_payload")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_default_payload")]
|
||||||
public static extern uint switch_rtp_get_default_payload(HandleRef jarg1);
|
public static extern uint switch_rtp_get_default_payload(HandleRef jarg1);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_invald_handler")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_invalid_handler")]
|
||||||
public static extern void switch_rtp_set_invald_handler(HandleRef jarg1, HandleRef jarg2);
|
public static extern void switch_rtp_set_invalid_handler(HandleRef jarg1, HandleRef jarg2);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_read")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_read")]
|
||||||
public static extern int switch_rtp_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6);
|
public static extern int switch_rtp_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6);
|
||||||
|
@ -26526,7 +26533,8 @@ public enum switch_call_cause_t {
|
||||||
SWITCH_CAUSE_GATEWAY_DOWN = 609,
|
SWITCH_CAUSE_GATEWAY_DOWN = 609,
|
||||||
SWITCH_CAUSE_INVALID_URL = 610,
|
SWITCH_CAUSE_INVALID_URL = 610,
|
||||||
SWITCH_CAUSE_INVALID_PROFILE = 611,
|
SWITCH_CAUSE_INVALID_PROFILE = 611,
|
||||||
SWITCH_CAUSE_NO_PICKUP = 612
|
SWITCH_CAUSE_NO_PICKUP = 612,
|
||||||
|
SWITCH_CAUSE_SRTP_READ_ERROR = 613
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue