mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 22:54:18 +00:00
swigall
This commit is contained in:
1 parent
b51e988ed5
commit
34f5994aa2
39 files changed
+6196
-4813
No files matched your search
@@ -1964,7 +1964,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_RTCP_VIDEO_INTERVAL_MSEC_get() {
|
||||
char * jresult ;
|
||||
char *result = 0 ;
|
||||
|
||||
result = (char *)("1000");
|
||||
result = (char *)("2000");
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
@@ -4266,6 +4266,28 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_pkt_count_get
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_sent_pkt_count_set(void * jarg1, unsigned short jarg2) {
|
||||
switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
|
||||
uint16_t arg2 ;
|
||||
|
||||
arg1 = (switch_rtcp_numbers_t *)jarg1;
|
||||
arg2 = (uint16_t)jarg2;
|
||||
if (arg1) (arg1)->sent_pkt_count = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_sent_pkt_count_get(void * jarg1) {
|
||||
unsigned short jresult ;
|
||||
switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
|
||||
uint16_t result;
|
||||
|
||||
arg1 = (switch_rtcp_numbers_t *)jarg1;
|
||||
result = (uint16_t) ((arg1)->sent_pkt_count);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_rtcp_rtp_count_set(void * jarg1, unsigned long jarg2) {
|
||||
switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
@@ -10609,6 +10631,60 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_count(void * j
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_media_bug_set_spy_fmt(void * jarg1, int jarg2) {
|
||||
switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ;
|
||||
switch_vid_spy_fmt_t arg2 ;
|
||||
|
||||
arg1 = (switch_media_bug_t *)jarg1;
|
||||
arg2 = (switch_vid_spy_fmt_t)jarg2;
|
||||
switch_media_bug_set_spy_fmt(arg1,arg2);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_push_spy_frame(void * jarg1, void * jarg2, int jarg3) {
|
||||
int jresult ;
|
||||
switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ;
|
||||
switch_frame_t *arg2 = (switch_frame_t *) 0 ;
|
||||
switch_rw_t arg3 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_media_bug_t *)jarg1;
|
||||
arg2 = (switch_frame_t *)jarg2;
|
||||
arg3 = (switch_rw_t)jarg3;
|
||||
result = (switch_status_t)switch_core_media_bug_push_spy_frame(arg1,arg2,arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_patch_spy_frame(void * jarg1, void * jarg2, int jarg3) {
|
||||
int jresult ;
|
||||
switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ;
|
||||
switch_image_t *arg2 = (switch_image_t *) 0 ;
|
||||
switch_rw_t arg3 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_media_bug_t *)jarg1;
|
||||
arg2 = (switch_image_t *)jarg2;
|
||||
arg3 = (switch_rw_t)jarg3;
|
||||
result = (switch_status_t)switch_core_media_bug_patch_spy_frame(arg1,arg2,arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_media_bug_parse_spy_fmt(char * jarg1) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
switch_vid_spy_fmt_t result;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
result = (switch_vid_spy_fmt_t)switch_media_bug_parse_spy_fmt((char const *)arg1);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_add(void * jarg1, char * jarg2, char * jarg3, void * jarg4, void * jarg5, void * jarg6, unsigned long jarg7, void * jarg8) {
|
||||
int jresult ;
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
@@ -14727,6 +14803,18 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_mime_ext2type(char * jarg1) {
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_mime_type2ext(char * jarg1) {
|
||||
char * jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
result = (char *)switch_core_mime_type2ext((char const *)arg1);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_mime_add_type(char * jarg1, char * jarg2) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
@@ -19245,6 +19333,24 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_util_quote_shell_arg_pool(char * jar
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_calc_bitrate(int jarg1, int jarg2, int jarg3, int jarg4) {
|
||||
int jresult ;
|
||||
int arg1 ;
|
||||
int arg2 ;
|
||||
int arg3 ;
|
||||
int arg4 ;
|
||||
int32_t result;
|
||||
|
||||
arg1 = (int)jarg1;
|
||||
arg2 = (int)jarg2;
|
||||
arg3 = (int)jarg3;
|
||||
arg4 = (int)jarg4;
|
||||
result = (int32_t)switch_calc_bitrate(arg1,arg2,arg3,arg4);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_parse_bandwidth_string(char * jarg1) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
@@ -19269,6 +19375,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_needs_url_encode(char * jarg1) {
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_url_encode_opt(char * jarg1, char * jarg2, unsigned long jarg3, int jarg4) {
|
||||
char * jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
size_t arg3 ;
|
||||
switch_bool_t arg4 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (size_t)jarg3;
|
||||
arg4 = (switch_bool_t)jarg4;
|
||||
result = (char *)switch_url_encode_opt((char const *)arg1,arg2,arg3,arg4);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_url_encode(char * jarg1, char * jarg2, unsigned long jarg3) {
|
||||
char * jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
@@ -19415,6 +19539,18 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_add_cidr_token(void * jarg
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_network_ipv4_mapped_ipv6_addr(char * jarg1) {
|
||||
char * jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
result = (char *)switch_network_ipv4_mapped_ipv6_addr((char const *)arg1);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_add_host_mask(void * jarg1, char * jarg2, char * jarg3, int jarg4) {
|
||||
int jresult ;
|
||||
switch_network_list_t *arg1 = (switch_network_list_t *) 0 ;
|
||||
@@ -33549,6 +33685,20 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_perform_audio_sync(void * jarg
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_perform_video_sync(void * jarg1, char * jarg2, char * jarg3, int jarg4) {
|
||||
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
char *arg3 = (char *) 0 ;
|
||||
int arg4 ;
|
||||
|
||||
arg1 = (switch_channel_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (char *)jarg3;
|
||||
arg4 = (int)jarg4;
|
||||
switch_channel_perform_video_sync(arg1,(char const *)arg2,(char const *)arg3,arg4);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_private_flag(void * jarg1, unsigned long jarg2) {
|
||||
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
@@ -36530,37 +36680,41 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_change_sln_volume_granular(void * jarg
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_merge_sln(void * jarg1, unsigned long jarg2, void * jarg3, unsigned long jarg4) {
|
||||
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_merge_sln(void * jarg1, unsigned long jarg2, void * jarg3, unsigned long jarg4, int jarg5) {
|
||||
unsigned long jresult ;
|
||||
int16_t *arg1 = (int16_t *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
int16_t *arg3 = (int16_t *) 0 ;
|
||||
uint32_t arg4 ;
|
||||
int arg5 ;
|
||||
uint32_t result;
|
||||
|
||||
arg1 = (int16_t *)jarg1;
|
||||
arg2 = (uint32_t)jarg2;
|
||||
arg3 = (int16_t *)jarg3;
|
||||
arg4 = (uint32_t)jarg4;
|
||||
result = (uint32_t)switch_merge_sln(arg1,arg2,arg3,arg4);
|
||||
arg5 = (int)jarg5;
|
||||
result = (uint32_t)switch_merge_sln(arg1,arg2,arg3,arg4,arg5);
|
||||
jresult = (unsigned long)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_unmerge_sln(void * jarg1, unsigned long jarg2, void * jarg3, unsigned long jarg4) {
|
||||
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_unmerge_sln(void * jarg1, unsigned long jarg2, void * jarg3, unsigned long jarg4, int jarg5) {
|
||||
unsigned long jresult ;
|
||||
int16_t *arg1 = (int16_t *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
int16_t *arg3 = (int16_t *) 0 ;
|
||||
uint32_t arg4 ;
|
||||
int arg5 ;
|
||||
uint32_t result;
|
||||
|
||||
arg1 = (int16_t *)jarg1;
|
||||
arg2 = (uint32_t)jarg2;
|
||||
arg3 = (int16_t *)jarg3;
|
||||
arg4 = (uint32_t)jarg4;
|
||||
result = (uint32_t)switch_unmerge_sln(arg1,arg2,arg3,arg4);
|
||||
arg5 = (int)jarg5;
|
||||
result = (uint32_t)switch_unmerge_sln(arg1,arg2,arg3,arg4,arg5);
|
||||
jresult = (unsigned long)result;
|
||||
return jresult;
|
||||
}
|
||||
@@ -36958,6 +37112,28 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_unicast_conninfo_stream_id_get(void * j
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_thread_set(void * jarg1, void * jarg2) {
|
||||
switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ;
|
||||
switch_thread_t *arg2 = (switch_thread_t *) 0 ;
|
||||
|
||||
arg1 = (switch_unicast_conninfo *)jarg1;
|
||||
arg2 = (switch_thread_t *)jarg2;
|
||||
if (arg1) (arg1)->thread = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_thread_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ;
|
||||
switch_thread_t *result = 0 ;
|
||||
|
||||
arg1 = (switch_unicast_conninfo *)jarg1;
|
||||
result = (switch_thread_t *) ((arg1)->thread);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_unicast_conninfo() {
|
||||
void * jresult ;
|
||||
switch_unicast_conninfo *result = 0 ;
|
||||
@@ -39324,6 +39500,42 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_record_session_mask(void * jarg1, c
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_video_write_overlay_session(void * jarg1) {
|
||||
int jresult ;
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_core_session_t *)jarg1;
|
||||
result = (switch_status_t)switch_ivr_stop_video_write_overlay_session(arg1);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_video_write_overlay_session(void * jarg1, char * jarg2, void * jarg3, unsigned char jarg4) {
|
||||
int jresult ;
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
switch_img_position_t arg3 ;
|
||||
uint8_t arg4 ;
|
||||
switch_img_position_t *argp3 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_core_session_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
argp3 = (switch_img_position_t *)jarg3;
|
||||
if (!argp3) {
|
||||
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_img_position_t", 0);
|
||||
return 0;
|
||||
}
|
||||
arg3 = *argp3;
|
||||
arg4 = (uint8_t)jarg4;
|
||||
result = (switch_status_t)switch_ivr_video_write_overlay_session(arg1,(char const *)arg2,arg3,arg4);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTP_MAX_BUF_LEN_get() {
|
||||
int jresult ;
|
||||
int result;
|
||||
@@ -40023,23 +40235,27 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_cands_get(void * jarg1) {
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_cand_idx_set(void * jarg1, int jarg2) {
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_cand_idx_set(void * jarg1, void * jarg2) {
|
||||
ice_s *arg1 = (ice_s *) 0 ;
|
||||
int arg2 ;
|
||||
int *arg2 ;
|
||||
|
||||
arg1 = (ice_s *)jarg1;
|
||||
arg2 = (int)jarg2;
|
||||
if (arg1) (arg1)->cand_idx = arg2;
|
||||
arg2 = (int *)jarg2;
|
||||
{
|
||||
size_t ii;
|
||||
int *b = (int *) arg1->cand_idx;
|
||||
for (ii = 0; ii < (size_t)2; ii++) b[ii] = *((int *) arg2 + ii);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_ice_t_cand_idx_get(void * jarg1) {
|
||||
int jresult ;
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_cand_idx_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
ice_s *arg1 = (ice_s *) 0 ;
|
||||
int result;
|
||||
int *result = 0 ;
|
||||
|
||||
arg1 = (ice_s *)jarg1;
|
||||
result = (int) ((arg1)->cand_idx);
|
||||
result = (int *)(int *) ((arg1)->cand_idx);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
@@ -40071,6 +40287,32 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_chosen_get(void * jarg1) {
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_is_chosen_set(void * jarg1, void * jarg2) {
|
||||
ice_s *arg1 = (ice_s *) 0 ;
|
||||
int *arg2 ;
|
||||
|
||||
arg1 = (ice_s *)jarg1;
|
||||
arg2 = (int *)jarg2;
|
||||
{
|
||||
size_t ii;
|
||||
int *b = (int *) arg1->is_chosen;
|
||||
for (ii = 0; ii < (size_t)2; ii++) b[ii] = *((int *) arg2 + ii);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_is_chosen_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
ice_s *arg1 = (ice_s *) 0 ;
|
||||
int *result = 0 ;
|
||||
|
||||
arg1 = (ice_s *)jarg1;
|
||||
result = (int *)(int *) ((arg1)->is_chosen);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_ufrag_set(void * jarg1, char * jarg2) {
|
||||
ice_s *arg1 = (ice_s *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
@@ -40610,6 +40852,18 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_video_buffer_size(void * jarg1,
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_get_video_buffer_size(void * jarg1) {
|
||||
unsigned long jresult ;
|
||||
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
|
||||
uint32_t result;
|
||||
|
||||
arg1 = (switch_rtp_t *)jarg1;
|
||||
result = (uint32_t)switch_rtp_get_video_buffer_size(arg1);
|
||||
jresult = (unsigned long)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_activate_jitter_buffer(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, unsigned long jarg6) {
|
||||
int jresult ;
|
||||
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
|
||||
@@ -41206,6 +41460,34 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_has_dtls() {
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_req_bitrate(void * jarg1, unsigned long jarg2) {
|
||||
int jresult ;
|
||||
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_rtp_t *)jarg1;
|
||||
arg2 = (uint32_t)jarg2;
|
||||
result = (switch_status_t)switch_rtp_req_bitrate(arg1,arg2);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_ack_bitrate(void * jarg1, unsigned long jarg2) {
|
||||
int jresult ;
|
||||
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_rtp_t *)jarg1;
|
||||
arg2 = (uint32_t)jarg2;
|
||||
result = (switch_status_t)switch_rtp_ack_bitrate(arg1,arg2);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_video_refresh(void * jarg1) {
|
||||
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
|
||||
|
||||
|
||||
@@ -1251,6 +1251,25 @@ public class freeswitch {
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_media_bug_set_spy_fmt(SWIGTYPE_p_switch_media_bug bug, switch_vid_spy_fmt_t spy_fmt) {
|
||||
freeswitchPINVOKE.switch_media_bug_set_spy_fmt(SWIGTYPE_p_switch_media_bug.getCPtr(bug), (int)spy_fmt);
|
||||
}
|
||||
|
||||
public static switch_status_t switch_core_media_bug_push_spy_frame(SWIGTYPE_p_switch_media_bug bug, switch_frame frame, switch_rw_t rw) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_push_spy_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug), switch_frame.getCPtr(frame), (int)rw);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_core_media_bug_patch_spy_frame(SWIGTYPE_p_switch_media_bug bug, SWIGTYPE_p_switch_image_t img, switch_rw_t rw) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_patch_spy_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug), SWIGTYPE_p_switch_image_t.getCPtr(img), (int)rw);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_vid_spy_fmt_t switch_media_bug_parse_spy_fmt(string name) {
|
||||
switch_vid_spy_fmt_t ret = (switch_vid_spy_fmt_t)freeswitchPINVOKE.switch_media_bug_parse_spy_fmt(name);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_core_media_bug_add(SWIGTYPE_p_switch_core_session session, string function, string target, SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t callback, SWIGTYPE_p_void user_data, SWIGTYPE_p_time_t stop_time, uint flags, SWIGTYPE_p_p_switch_media_bug new_bug) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_add(SWIGTYPE_p_switch_core_session.getCPtr(session), function, target, SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data), SWIGTYPE_p_time_t.getCPtr(stop_time), flags, SWIGTYPE_p_p_switch_media_bug.getCPtr(new_bug));
|
||||
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
|
||||
@@ -2753,6 +2772,11 @@ public class freeswitch {
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_core_mime_type2ext(string type) {
|
||||
string ret = freeswitchPINVOKE.switch_core_mime_type2ext(type);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_core_mime_add_type(string type, string ext) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_mime_add_type(type, ext);
|
||||
return ret;
|
||||
@@ -4050,6 +4074,11 @@ public class freeswitch {
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static int switch_calc_bitrate(int w, int h, int quality, int fps) {
|
||||
int ret = freeswitchPINVOKE.switch_calc_bitrate(w, h, quality, fps);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static int switch_parse_bandwidth_string(string bwv) {
|
||||
int ret = freeswitchPINVOKE.switch_parse_bandwidth_string(bwv);
|
||||
return ret;
|
||||
@@ -4060,6 +4089,11 @@ public class freeswitch {
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_url_encode_opt(string url, string buf, uint len, switch_bool_t double_encode) {
|
||||
string ret = freeswitchPINVOKE.switch_url_encode_opt(url, buf, len, (int)double_encode);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_url_encode(string url, string buf, uint len) {
|
||||
string ret = freeswitchPINVOKE.switch_url_encode(url, buf, len);
|
||||
return ret;
|
||||
@@ -4104,6 +4138,11 @@ public class freeswitch {
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_network_ipv4_mapped_ipv6_addr(string ip_str) {
|
||||
string ret = freeswitchPINVOKE.switch_network_ipv4_mapped_ipv6_addr(ip_str);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_network_list_add_host_mask(SWIGTYPE_p_switch_network_list list, string host, string mask_str, switch_bool_t ok) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_network_list_add_host_mask(SWIGTYPE_p_switch_network_list.getCPtr(list), host, mask_str, (int)ok);
|
||||
return ret;
|
||||
@@ -4801,6 +4840,10 @@ public class freeswitch {
|
||||
freeswitchPINVOKE.switch_channel_perform_audio_sync(SWIGTYPE_p_switch_channel.getCPtr(channel), file, func, line);
|
||||
}
|
||||
|
||||
public static void switch_channel_perform_video_sync(SWIGTYPE_p_switch_channel channel, string file, string func, int line) {
|
||||
freeswitchPINVOKE.switch_channel_perform_video_sync(SWIGTYPE_p_switch_channel.getCPtr(channel), file, func, line);
|
||||
}
|
||||
|
||||
public static void switch_channel_set_private_flag(SWIGTYPE_p_switch_channel channel, uint flags) {
|
||||
freeswitchPINVOKE.switch_channel_set_private_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);
|
||||
}
|
||||
@@ -5493,13 +5536,13 @@ public class freeswitch {
|
||||
freeswitchPINVOKE.switch_change_sln_volume_granular(SWIGTYPE_p_short.getCPtr(data), samples, vol);
|
||||
}
|
||||
|
||||
public static uint switch_merge_sln(SWIGTYPE_p_short data, uint samples, SWIGTYPE_p_short other_data, uint other_samples) {
|
||||
uint ret = freeswitchPINVOKE.switch_merge_sln(SWIGTYPE_p_short.getCPtr(data), samples, SWIGTYPE_p_short.getCPtr(other_data), other_samples);
|
||||
public static uint switch_merge_sln(SWIGTYPE_p_short data, uint samples, SWIGTYPE_p_short other_data, uint other_samples, int channels) {
|
||||
uint ret = freeswitchPINVOKE.switch_merge_sln(SWIGTYPE_p_short.getCPtr(data), samples, SWIGTYPE_p_short.getCPtr(other_data), other_samples, channels);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static uint switch_unmerge_sln(SWIGTYPE_p_short data, uint samples, SWIGTYPE_p_short other_data, uint other_samples) {
|
||||
uint ret = freeswitchPINVOKE.switch_unmerge_sln(SWIGTYPE_p_short.getCPtr(data), samples, SWIGTYPE_p_short.getCPtr(other_data), other_samples);
|
||||
public static uint switch_unmerge_sln(SWIGTYPE_p_short data, uint samples, SWIGTYPE_p_short other_data, uint other_samples, int channels) {
|
||||
uint ret = freeswitchPINVOKE.switch_unmerge_sln(SWIGTYPE_p_short.getCPtr(data), samples, SWIGTYPE_p_short.getCPtr(other_data), other_samples, channels);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -6226,6 +6269,17 @@ public class freeswitch {
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_ivr_stop_video_write_overlay_session(SWIGTYPE_p_switch_core_session session) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_stop_video_write_overlay_session(SWIGTYPE_p_switch_core_session.getCPtr(session));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_ivr_video_write_overlay_session(SWIGTYPE_p_switch_core_session session, string img_path, SWIGTYPE_p_switch_img_position_t pos, byte alpha) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_video_write_overlay_session(SWIGTYPE_p_switch_core_session.getCPtr(session), img_path, SWIGTYPE_p_switch_img_position_t.getCPtr(pos), alpha);
|
||||
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_rtp_add_crypto_key(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_crypto_direction_t direction, uint index, switch_rtp_crypto_key_type_t type, SWIGTYPE_p_unsigned_char key, SWIGTYPE_p_switch_size_t keylen) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_add_crypto_key(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)direction, index, (int)type, SWIGTYPE_p_unsigned_char.getCPtr(key), SWIGTYPE_p_switch_size_t.getCPtr(keylen));
|
||||
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
|
||||
@@ -6373,6 +6427,11 @@ public class freeswitch {
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static uint switch_rtp_get_video_buffer_size(SWIGTYPE_p_switch_rtp rtp_session) {
|
||||
uint ret = freeswitchPINVOKE.switch_rtp_get_video_buffer_size(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_rtp_activate_jitter_buffer(SWIGTYPE_p_switch_rtp rtp_session, uint queue_frames, uint max_queue_frames, uint samples_per_packet, uint samples_per_second, uint max_drift) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_activate_jitter_buffer(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), queue_frames, max_queue_frames, samples_per_packet, samples_per_second, max_drift);
|
||||
return ret;
|
||||
@@ -6588,6 +6647,16 @@ public class freeswitch {
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_rtp_req_bitrate(SWIGTYPE_p_switch_rtp rtp_session, uint bps) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_req_bitrate(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), bps);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_rtp_ack_bitrate(SWIGTYPE_p_switch_rtp rtp_session, uint bps) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_ack_bitrate(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), bps);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_rtp_video_refresh(SWIGTYPE_p_switch_rtp rtp_session) {
|
||||
freeswitchPINVOKE.switch_rtp_video_refresh(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session));
|
||||
}
|
||||
@@ -8648,6 +8717,12 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_pkt_count_get")]
|
||||
public static extern ushort switch_rtcp_numbers_t_pkt_count_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_sent_pkt_count_set")]
|
||||
public static extern void switch_rtcp_numbers_t_sent_pkt_count_set(HandleRef jarg1, ushort jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_sent_pkt_count_get")]
|
||||
public static extern ushort switch_rtcp_numbers_t_sent_pkt_count_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_rtcp_rtp_count_set")]
|
||||
public static extern void switch_rtcp_numbers_t_rtcp_rtp_count_set(HandleRef jarg1, uint jarg2);
|
||||
|
||||
@@ -10292,6 +10367,18 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_count")]
|
||||
public static extern uint switch_core_media_bug_count(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_media_bug_set_spy_fmt")]
|
||||
public static extern void switch_media_bug_set_spy_fmt(HandleRef jarg1, int jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_push_spy_frame")]
|
||||
public static extern int switch_core_media_bug_push_spy_frame(HandleRef jarg1, HandleRef jarg2, int jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_patch_spy_frame")]
|
||||
public static extern int switch_core_media_bug_patch_spy_frame(HandleRef jarg1, HandleRef jarg2, int jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_media_bug_parse_spy_fmt")]
|
||||
public static extern int switch_media_bug_parse_spy_fmt(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_add")]
|
||||
public static extern int switch_core_media_bug_add(HandleRef jarg1, string jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, uint jarg7, HandleRef jarg8);
|
||||
|
||||
@@ -11195,6 +11282,9 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_mime_ext2type")]
|
||||
public static extern string switch_core_mime_ext2type(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_mime_type2ext")]
|
||||
public static extern string switch_core_mime_type2ext(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_mime_add_type")]
|
||||
public static extern int switch_core_mime_add_type(string jarg1, string jarg2);
|
||||
|
||||
@@ -12236,12 +12326,18 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_util_quote_shell_arg_pool")]
|
||||
public static extern string switch_util_quote_shell_arg_pool(string jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_calc_bitrate")]
|
||||
public static extern int switch_calc_bitrate(int jarg1, int jarg2, int jarg3, int jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_parse_bandwidth_string")]
|
||||
public static extern int switch_parse_bandwidth_string(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_needs_url_encode")]
|
||||
public static extern int switch_needs_url_encode(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_url_encode_opt")]
|
||||
public static extern string switch_url_encode_opt(string jarg1, string jarg2, uint jarg3, int jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_url_encode")]
|
||||
public static extern string switch_url_encode(string jarg1, string jarg2, uint jarg3);
|
||||
|
||||
@@ -12269,6 +12365,9 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_network_list_add_cidr_token")]
|
||||
public static extern int switch_network_list_add_cidr_token(HandleRef jarg1, string jarg2, int jarg3, string jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_network_ipv4_mapped_ipv6_addr")]
|
||||
public static extern string switch_network_ipv4_mapped_ipv6_addr(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_network_list_add_host_mask")]
|
||||
public static extern int switch_network_list_add_host_mask(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
|
||||
|
||||
@@ -15833,6 +15932,9 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_audio_sync")]
|
||||
public static extern void switch_channel_perform_audio_sync(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_video_sync")]
|
||||
public static extern void switch_channel_perform_video_sync(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_private_flag")]
|
||||
public static extern void switch_channel_set_private_flag(HandleRef jarg1, uint jarg2);
|
||||
|
||||
@@ -16512,10 +16614,10 @@ class freeswitchPINVOKE {
|
||||
public static extern void switch_change_sln_volume_granular(HandleRef jarg1, uint jarg2, int jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_merge_sln")]
|
||||
public static extern uint switch_merge_sln(HandleRef jarg1, uint jarg2, HandleRef jarg3, uint jarg4);
|
||||
public static extern uint switch_merge_sln(HandleRef jarg1, uint jarg2, HandleRef jarg3, uint jarg4, int jarg5);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_unmerge_sln")]
|
||||
public static extern uint switch_unmerge_sln(HandleRef jarg1, uint jarg2, HandleRef jarg3, uint jarg4);
|
||||
public static extern uint switch_unmerge_sln(HandleRef jarg1, uint jarg2, HandleRef jarg3, uint jarg4, int jarg5);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_mux_channels")]
|
||||
public static extern void switch_mux_channels(HandleRef jarg1, HandleRef jarg2, uint jarg3, uint jarg4);
|
||||
@@ -16616,6 +16718,12 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_stream_id_get")]
|
||||
public static extern int switch_unicast_conninfo_stream_id_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_thread_set")]
|
||||
public static extern void switch_unicast_conninfo_thread_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_thread_get")]
|
||||
public static extern IntPtr switch_unicast_conninfo_thread_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_unicast_conninfo")]
|
||||
public static extern IntPtr new_switch_unicast_conninfo();
|
||||
|
||||
@@ -17054,6 +17162,12 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_record_session_mask")]
|
||||
public static extern int switch_ivr_record_session_mask(HandleRef jarg1, string jarg2, int jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_video_write_overlay_session")]
|
||||
public static extern int switch_ivr_stop_video_write_overlay_session(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_video_write_overlay_session")]
|
||||
public static extern int switch_ivr_video_write_overlay_session(HandleRef jarg1, string jarg2, HandleRef jarg3, byte jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RTP_MAX_BUF_LEN_get")]
|
||||
public static extern int SWITCH_RTP_MAX_BUF_LEN_get();
|
||||
|
||||
@@ -17229,10 +17343,10 @@ class freeswitchPINVOKE {
|
||||
public static extern IntPtr ice_t_cands_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_ice_t_cand_idx_set")]
|
||||
public static extern void ice_t_cand_idx_set(HandleRef jarg1, int jarg2);
|
||||
public static extern void ice_t_cand_idx_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_ice_t_cand_idx_get")]
|
||||
public static extern int ice_t_cand_idx_get(HandleRef jarg1);
|
||||
public static extern IntPtr ice_t_cand_idx_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_ice_t_chosen_set")]
|
||||
public static extern void ice_t_chosen_set(HandleRef jarg1, HandleRef jarg2);
|
||||
@@ -17240,6 +17354,12 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_ice_t_chosen_get")]
|
||||
public static extern IntPtr ice_t_chosen_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_ice_t_is_chosen_set")]
|
||||
public static extern void ice_t_is_chosen_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_ice_t_is_chosen_get")]
|
||||
public static extern IntPtr ice_t_is_chosen_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_ice_t_ufrag_set")]
|
||||
public static extern void ice_t_ufrag_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
@@ -17357,6 +17477,9 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_video_buffer_size")]
|
||||
public static extern int switch_rtp_set_video_buffer_size(HandleRef jarg1, uint jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_video_buffer_size")]
|
||||
public static extern uint switch_rtp_get_video_buffer_size(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_activate_jitter_buffer")]
|
||||
public static extern int switch_rtp_activate_jitter_buffer(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5, uint jarg6);
|
||||
|
||||
@@ -17492,6 +17615,12 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_has_dtls")]
|
||||
public static extern int switch_rtp_has_dtls();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_req_bitrate")]
|
||||
public static extern int switch_rtp_req_bitrate(HandleRef jarg1, uint jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_ack_bitrate")]
|
||||
public static extern int switch_rtp_ack_bitrate(HandleRef jarg1, uint jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_video_refresh")]
|
||||
public static extern void switch_rtp_video_refresh(HandleRef jarg1);
|
||||
|
||||
@@ -19046,12 +19175,13 @@ public class ice_t : IDisposable {
|
||||
}
|
||||
}
|
||||
|
||||
public int cand_idx {
|
||||
public SWIGTYPE_p_int cand_idx {
|
||||
set {
|
||||
freeswitchPINVOKE.ice_t_cand_idx_set(swigCPtr, value);
|
||||
freeswitchPINVOKE.ice_t_cand_idx_set(swigCPtr, SWIGTYPE_p_int.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
int ret = freeswitchPINVOKE.ice_t_cand_idx_get(swigCPtr);
|
||||
IntPtr cPtr = freeswitchPINVOKE.ice_t_cand_idx_get(swigCPtr);
|
||||
SWIGTYPE_p_int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
@@ -19067,6 +19197,17 @@ public class ice_t : IDisposable {
|
||||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_int is_chosen {
|
||||
set {
|
||||
freeswitchPINVOKE.ice_t_is_chosen_set(swigCPtr, SWIGTYPE_p_int.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.ice_t_is_chosen_get(swigCPtr);
|
||||
SWIGTYPE_p_int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public string ufrag {
|
||||
set {
|
||||
freeswitchPINVOKE.ice_t_ufrag_set(swigCPtr, value);
|
||||
@@ -25054,6 +25195,36 @@ namespace FreeSWITCH.Native {
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_switch_img_position_t {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal SWIGTYPE_p_switch_img_position_t(IntPtr cPtr, bool futureUse) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
protected SWIGTYPE_p_switch_img_position_t() {
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
}
|
||||
|
||||
internal static HandleRef getCPtr(SWIGTYPE_p_switch_img_position_t obj) {
|
||||
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.12
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_switch_interval_time_t {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
@@ -25834,6 +26005,36 @@ namespace FreeSWITCH.Native {
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_switch_thread_t {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal SWIGTYPE_p_switch_thread_t(IntPtr cPtr, bool futureUse) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
protected SWIGTYPE_p_switch_thread_t() {
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
}
|
||||
|
||||
internal static HandleRef getCPtr(SWIGTYPE_p_switch_thread_t obj) {
|
||||
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.12
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_switch_time_exp_t {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
@@ -26112,6 +26313,7 @@ public enum switch_abc_type_t {
|
||||
SWITCH_ABC_TYPE_TAP_NATIVE_WRITE,
|
||||
SWITCH_ABC_TYPE_CLOSE,
|
||||
SWITCH_ABC_TYPE_READ_VIDEO_PING,
|
||||
SWITCH_ABC_TYPE_WRITE_VIDEO_PING,
|
||||
SWITCH_ABC_TYPE_STREAM_VIDEO_PING,
|
||||
SWITCH_ABC_TYPE_VIDEO_PATCH
|
||||
}
|
||||
@@ -28914,7 +29116,8 @@ public enum switch_channel_flag_t {
|
||||
CF_SLA_INTERCEPT,
|
||||
CF_VIDEO_BREAK,
|
||||
CF_AUDIO_PAUSE,
|
||||
CF_VIDEO_PAUSE,
|
||||
CF_VIDEO_PAUSE_READ,
|
||||
CF_VIDEO_PAUSE_WRITE,
|
||||
CF_BYPASS_MEDIA_AFTER_HOLD,
|
||||
CF_HANGUP_HELD,
|
||||
CF_CONFERENCE_RESET_MEDIA,
|
||||
@@ -28924,6 +29127,8 @@ public enum switch_channel_flag_t {
|
||||
CF_VIDEO_ONLY,
|
||||
CF_VIDEO_READY,
|
||||
CF_VIDEO_MIRROR_INPUT,
|
||||
CF_VIDEO_READ_FILE_ATTACHED,
|
||||
CF_VIDEO_WRITE_FILE_ATTACHED,
|
||||
CF_FLAG_MAX
|
||||
}
|
||||
|
||||
@@ -29464,7 +29669,8 @@ namespace FreeSWITCH.Native {
|
||||
public enum switch_codec_control_command_t {
|
||||
SCC_VIDEO_REFRESH = 0,
|
||||
SCC_VIDEO_BANDWIDTH,
|
||||
SCC_VIDEO_RESET
|
||||
SCC_VIDEO_RESET,
|
||||
SCC_AUDIO_PACKET_LOSS
|
||||
}
|
||||
|
||||
}
|
||||
@@ -29681,7 +29887,8 @@ namespace FreeSWITCH.Native {
|
||||
SWITCH_CODEC_FLAG_FREE_POOL = (1 << 5),
|
||||
SWITCH_CODEC_FLAG_AAL2 = (1 << 6),
|
||||
SWITCH_CODEC_FLAG_PASSTHROUGH = (1 << 7),
|
||||
SWITCH_CODEC_FLAG_READY = (1 << 8)
|
||||
SWITCH_CODEC_FLAG_READY = (1 << 8),
|
||||
SWITCH_CODEC_FLAG_HAS_PLC = (1 << 15)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -30976,6 +31183,7 @@ public enum switch_core_session_message_types_t {
|
||||
SWITCH_MESSAGE_INDICATE_DISPLAY,
|
||||
SWITCH_MESSAGE_INDICATE_TRANSCODING_NECESSARY,
|
||||
SWITCH_MESSAGE_INDICATE_AUDIO_SYNC,
|
||||
SWITCH_MESSAGE_INDICATE_VIDEO_SYNC,
|
||||
SWITCH_MESSAGE_INDICATE_REQUEST_IMAGE_MEDIA,
|
||||
SWITCH_MESSAGE_INDICATE_UUID_CHANGE,
|
||||
SWITCH_MESSAGE_INDICATE_SIMPLIFY,
|
||||
@@ -30998,6 +31206,8 @@ public enum switch_core_session_message_types_t {
|
||||
SWITCH_MESSAGE_INDICATE_MEDIA_RENEG,
|
||||
SWITCH_MESSAGE_INDICATE_KEEPALIVE,
|
||||
SWITCH_MESSAGE_INDICATE_HARD_MUTE,
|
||||
SWITCH_MESSAGE_INDICATE_BITRATE_REQ,
|
||||
SWITCH_MESSAGE_INDICATE_BITRATE_ACK,
|
||||
SWITCH_MESSAGE_REFER_EVENT,
|
||||
SWITCH_MESSAGE_ANSWER_EVENT,
|
||||
SWITCH_MESSAGE_PROGRESS_EVENT,
|
||||
@@ -37482,9 +37692,12 @@ namespace FreeSWITCH.Native {
|
||||
SMBF_ONE_ONLY = (1 << 15),
|
||||
SMBF_MASK = (1 << 16),
|
||||
SMBF_READ_VIDEO_PING = (1 << 17),
|
||||
SMBF_READ_VIDEO_STREAM = (1 << 18),
|
||||
SMBF_WRITE_VIDEO_STREAM = (1 << 19),
|
||||
SMBF_VIDEO_PATCH = (1 << 20)
|
||||
SMBF_WRITE_VIDEO_PING = (1 << 18),
|
||||
SMBF_READ_VIDEO_STREAM = (1 << 19),
|
||||
SMBF_WRITE_VIDEO_STREAM = (1 << 20),
|
||||
SMBF_VIDEO_PATCH = (1 << 21),
|
||||
SMBF_SPY_VIDEO_STREAM = (1 << 22),
|
||||
SMBF_SPY_VIDEO_STREAM_BLEG = (1 << 23)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -38199,6 +38412,16 @@ public class switch_rtcp_numbers_t : IDisposable {
|
||||
}
|
||||
}
|
||||
|
||||
public ushort sent_pkt_count {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_rtcp_numbers_t_sent_pkt_count_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
ushort ret = freeswitchPINVOKE.switch_rtcp_numbers_t_sent_pkt_count_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public uint rtcp_rtp_count {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_rtcp_numbers_t_rtcp_rtp_count_set(swigCPtr, value);
|
||||
@@ -38600,6 +38823,7 @@ public enum switch_rtp_flag_t {
|
||||
SWITCH_RTP_FLAG_RESET,
|
||||
SWITCH_RTP_FLAG_MUTE,
|
||||
SWITCH_RTP_FLAG_NACK,
|
||||
SWITCH_RTP_FLAG_TMMBR,
|
||||
SWITCH_RTP_FLAG_INVALID
|
||||
}
|
||||
|
||||
@@ -42108,6 +42332,17 @@ public class switch_unicast_conninfo : IDisposable {
|
||||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_switch_thread_t thread {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_unicast_conninfo_thread_set(swigCPtr, SWIGTYPE_p_switch_thread_t.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_thread_get(swigCPtr);
|
||||
SWIGTYPE_p_switch_thread_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_t(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public switch_unicast_conninfo() : this(freeswitchPINVOKE.new_switch_unicast_conninfo(), true) {
|
||||
}
|
||||
|
||||
@@ -42341,6 +42576,23 @@ public class switch_vid_params_t : IDisposable {
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
public enum switch_vid_spy_fmt_t {
|
||||
SPY_LOWER_RIGHT_SMALL,
|
||||
SPY_LOWER_RIGHT_LARGE,
|
||||
SPY_DUAL_CROP
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.12
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
|
||||
Reference in new issue
Block a user