diff --git a/CMakeLists.txt b/CMakeLists.txt index 69b7fe7..a14c9aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,8 @@ if (DEFINED ENV{IDF_PATH}) file(GLOB ESP32_CODES "./src/*.c") idf_component_register( SRCS ${ESP32_CODES} ${HTTP_SOURCES} ${MQTT_SOURCES} ${MQTT_SERIALIZER_SOURCES} - INCLUDE_DIRS "./src" ${HTTP_INCLUDE_PUBLIC_DIRS} ${MQTT_INCLUDE_PUBLIC_DIRS} + INCLUDE_DIRS "./include" ${HTTP_INCLUDE_PUBLIC_DIRS} ${MQTT_INCLUDE_PUBLIC_DIRS} + PRIV_INCLUDE_DIRS "./src" REQUIRES mbedtls srtp json esp_netif ) add_definitions("-DCONFIG_USE_LWIP=1" "-DCONFIG_USE_USRSCTP=0" "-DCONFIG_AUDIO_BUFFER_SIZE=8096" "-DCONFIG_DATA_BUFFER_SIZE=102400" "-D__BYTE_ORDER=__LITTLE_ENDIAN" "-DHTTP_DO_NOT_USE_CUSTOM_CONFIG" "-DMQTT_DO_NOT_USE_CUSTOM_CONFIG") diff --git a/examples/esp32/main/app_main.c b/examples/esp32/main/app_main.c index 1f162e5..4e7c0da 100644 --- a/examples/esp32/main/app_main.c +++ b/examples/esp32/main/app_main.c @@ -13,7 +13,6 @@ #include "esp_system.h" #include "esp_tls.h" #include "freertos/FreeRTOS.h" -#include "mdns.h" #include "nvs_flash.h" #include "protocol_examples_common.h" diff --git a/include/peer.h b/include/peer.h new file mode 120000 index 0000000..23ce91f --- /dev/null +++ b/include/peer.h @@ -0,0 +1 @@ +../src/peer.h \ No newline at end of file diff --git a/include/peer_connection.h b/include/peer_connection.h new file mode 120000 index 0000000..15c1e0f --- /dev/null +++ b/include/peer_connection.h @@ -0,0 +1 @@ +../src/peer_connection.h \ No newline at end of file diff --git a/include/peer_signaling.h b/include/peer_signaling.h new file mode 120000 index 0000000..f783b7b --- /dev/null +++ b/include/peer_signaling.h @@ -0,0 +1 @@ +../src/peer_signaling.h \ No newline at end of file