Comments (14)
I uploaded a new retest sources tarball to:
- retest is testing libre
- selftest is testing baresip
To build and execute the test programs:
$ make test
or
$ make selftest
Alfred
from baresip-android.
from baresip-android.
from baresip-android.
can you please try again with the latest version of librem:
http://www.creytiv.com/pub/rem-0.5.2.tar.gz
/Alfred
from baresip-android.
from baresip-android.
Hi,
I had a chance to test the latest sources (0.5.6). Compiling for android remains a challenge:
-
openssl make script fails. I had to compile openssl using the instructions from here:
https://wiki.openssl.org/index.php/Android; that solved the problem for me. I assume this is because android has changed the structure of the NDK (its now located in .../Sdk/ndk-bundle adn the header files ahve a somewhat different structure (I am compiling against android-21) -
compiling modules/opengles fails.
The module.mk file does link with the android NDK specific opngles libraries. Adding to LFLAGS -lGLESv1_CM which is the OpenGLES V1 specific librarie leads to the least number of undefined references but is still not working. -
compiling test fails:
src/dtmf.c:39: error: undefined reference to 'dtmf_dec_alloc'
src/dtmf.c:51: error: undefined reference to 'dtmf_dec_probe'
Many thanks
from baresip-android.
Regarding 1.) you need to use OpenSSL 1.1.0f or later.
Regarding 3.) you need to use latest librem from:
http://www.creytiv.com/pub/rem-0.5.2.tar.gz
Alfred
from baresip-android.
Ad 1) OK, I have downloaded the LTR version OpenSSL 1.0.2m.
Ad 2) Any suggestions? Many thanks!
Ad 3) Thank you!
from baresip-android.
You should now use OpenSSL 1.1.0g, I think older versions will not build anymore.
I just compiled the whole project with NDK r14 and platform 17, it builds clean
without any warnings or errors.
the opengles module is not included in the default build. At the moment it
is probably not working at all. Testing opengles needs an Android application
with graphics to test, I dont have access to this anymore.
if you want to fix the opengles module, I would suggest that you open a new Issue
only for that.
This issue can be closed now.
from baresip-android.
Thanks for sharing your setup. I am now using
- android platform 17
- android-ndk-14r
- baresip-0.5.6
- re-0.5.6
- rem-0.5.2
- retest-0.5.1
Baresip compiles without error, but 'make test' fails with
test 42 -- test_json
json: TEST_EQUALS: src/json.c:450: test_json_exponent(): expected=3(0x3), actual=4(0x4)
test: test_json: test failed (Invalid argument)
Failed (Invalid argument)
Btw
I also tried using re-0.5.5, but using this version 'make test' failed at test_http_loop, TEST_EQUALS: src/http.c:147: http_req_handler(): expected=0(0x0), actual=824919605(0x312b4635)
from baresip-android.
you also need latest retest
:
http://www.creytiv.com/pub/retest-0.5.2.tar.gz
from baresip-android.
The latest version of retest on http://www.creytiv.com/pub/ seems to be 0.5.1
from baresip-android.
Thanks, I saw the update on the website! It now compiles and tests without any problem on my Samsung phone.
I will now try to integrate this into an Android Studio project and then play around with the opengles module but honestly, I have no clue where to start and how to connect the native opengles library with the rest of the Android application.
Any advice of how to go about it would be appreciated.
from baresip-android.
okay. as I said, please open a new Issue for the opengles work.
from baresip-android.
Related Issues (20)
- OPUS build needs quotes HOT 4
- is there means to turn on echo cancellation? HOT 5
- crash in audio.c HOT 2
- checking how to run the C preprocessor... /lib/cpp HOT 2
- Makefile did not work in arm64, x86 and x86_64. HOT 1
- armv8-a build guidelines for Android platform HOT 1
- Could not build
- getting compilation error android-ndk-17
- How to correct errors in studio 3.4
- Registration issue in android pie
- Android unregister
- arm-linux-androideabi-gcc no longer part of the ndk HOT 3
- App crashes immediately after start HOT 3
- Connect sip over websocket
- No audio in DND mode HOT 1
- Notification for unregistered usage. HOT 3
- How to publish Call Custom SIP Progress after ringing
- advertised GSM codec not selectable in app (F-Droid)
- minimal bandwidth codecs missing in android version (f-droid)
- Invalid authentication password on use of %
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from baresip-android.