From 26b36986b9ec963dee5a6dbebebc68c80731436e Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Tue, 12 Jun 2018 09:03:00 +0300 Subject: [PATCH] updated readme --- README.md | 6 ++++-- app/src/main/cpp/CMakeLists.txt | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index df829c48..92d13963 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ -This is very basic Android Studio baresip project. +This is very basic Android Studio project implementing baresip +(https://github.com/alfredh/baresip) based SIP User Agent. -Includes PCMU/PCMA and opus codecs as well as ZRTP media encapsulation. +Currently includes TLS transport, PCMU/PCMA and opus codecs, as well as +ZRTP and (DTLS) SRTP media encapsulation. The static libraries and include files in distribution directory have been produced using https://github.com/alfredh/baresip-android. diff --git a/app/src/main/cpp/CMakeLists.txt b/app/src/main/cpp/CMakeLists.txt index 31d28db8..406173f0 100644 --- a/app/src/main/cpp/CMakeLists.txt +++ b/app/src/main/cpp/CMakeLists.txt @@ -40,6 +40,10 @@ add_library(lib_opus STATIC IMPORTED) set_target_properties(lib_opus PROPERTIES IMPORTED_LOCATION ${distribution_DIR}/opus/lib/${ANDROID_ABI}/libopus.a) +add_library(lib_g7221 STATIC IMPORTED) +set_target_properties(lib_g7221 PROPERTIES IMPORTED_LOCATION + ${distribution_DIR}/g722_1/lib/${ANDROID_ABI}/libg722_1.a) + add_library(lib_bn STATIC IMPORTED) set_target_properties(lib_bn PROPERTIES IMPORTED_LOCATION ${distribution_DIR}/bn/lib/${ANDROID_ABI}/libbn.a) @@ -69,6 +73,7 @@ target_link_libraries(baresip lib_ssl lib_crypto lib_opus + lib_g7221 lib_zrtp lib_bn z