From 91338935dec8fa8e791019d21006b7f343723942 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Sun, 23 May 2021 20:52:16 +0000 Subject: [PATCH 1/9] rtpstream: Remove unused audioport and videoport --- include/rtpstream.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/rtpstream.hpp b/include/rtpstream.hpp index 6835033ed..238f9f761 100644 --- a/include/rtpstream.hpp +++ b/include/rtpstream.hpp @@ -27,8 +27,6 @@ struct taskentry_t; struct rtpstream_callinfo_t { taskentry_t* taskinfo; - int audioport; - int videoport; }; struct rtpstream_actinfo_t @@ -45,8 +43,6 @@ int rtpstream_new_call(rtpstream_callinfo_t *callinfo); void rtpstream_end_call(rtpstream_callinfo_t *callinfo); void rtpstream_shutdown(void); -int rtpstream_get_audioport(rtpstream_callinfo_t *callinfo); -int rtpstream_get_videoport(rtpstream_callinfo_t *callinfo); void rtpstream_set_remote(rtpstream_callinfo_t* callinfo, int ip_ver, const char* ip_addr, int audio_port, int video_port); From 754edfca9e63a831003cd055aec3b21676ee9620 Mon Sep 17 00:00:00 2001 From: Walter Doekes Date: Tue, 30 Nov 2021 10:36:00 +0100 Subject: [PATCH 2/9] build: Consistent find_library usage for PCAP/GSL/SCTP Fixes build on CentOS7. Closes #540 reported by @Xyders. --- CMakeLists.txt | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 30bb7d2f6..ba18b1b99 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,18 +75,30 @@ if(USE_SSL) endif() if(USE_PCAP) - add_definitions("-DPCAPPLAY") + find_library(PCAP_LIBRARY pcap) + if(PCAP_LIBRARY) + add_definitions("-DPCAPPLAY") + else() + message(FATAL_ERROR "libpcap not found") + endif() endif(USE_PCAP) if(USE_GSL) find_library(GSL_LIBRARY gsl) if(GSL_LIBRARY) add_definitions("-DHAVE_GSL") - endif(GSL_LIBRARY) + else() + message(FATAL_ERROR "libgsl not found") + endif() endif(USE_GSL) if(USE_SCTP) - add_definitions("-DUSE_SCTP") + find_library(SCTP_LIBRARY sctp) + if(SCTP_LIBRARY) + add_definitions("-DUSE_SCTP") + else() + message(FATAL_ERROR "libsctp not found") + endif() endif(USE_SCTP) # add the executable From f843dd8588d28bcd9f19c494518e9a944b7d12f7 Mon Sep 17 00:00:00 2001 From: nfranzmeier Date: Thu, 17 Mar 2022 09:58:07 -0500 Subject: [PATCH 3/9] 1. This adds the following new features: a) a plugin which can be built via make myapp which adds the ability to run lua scripts in a thread using exec command luarunthread@function_name arg1 arg2 arg3 etc. and then return a retkey which holds the key to shared memory which can read another variable msgDone to see if the memory has been updated with the results from the thread. example: !-- Do a loop looking for the data to be done -->