Giter VIP home page Giter VIP logo

Comments (14)

alfredh avatar alfredh commented on May 27, 2024

I uploaded a new retest sources tarball to:

http://www.creytiv.com/pub/

  • retest is testing libre
  • selftest is testing baresip

To build and execute the test programs:

$ make test

or

$ make selftest

Alfred

from baresip-android.

wsat avatar wsat commented on May 27, 2024

from baresip-android.

wsat avatar wsat commented on May 27, 2024

from baresip-android.

alfredh avatar alfredh commented on May 27, 2024

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.

wsat avatar wsat commented on May 27, 2024

from baresip-android.

wsat avatar wsat commented on May 27, 2024

Hi,

I had a chance to test the latest sources (0.5.6). Compiling for android remains a challenge:

  1. 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)

  2. 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.

  3. 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.

alfredh avatar alfredh commented on May 27, 2024

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.

wsat avatar wsat commented on May 27, 2024

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.

alfredh avatar alfredh commented on May 27, 2024

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.

wsat avatar wsat commented on May 27, 2024

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.

alfredh avatar alfredh commented on May 27, 2024

you also need latest retest:

http://www.creytiv.com/pub/retest-0.5.2.tar.gz

from baresip-android.

wsat avatar wsat commented on May 27, 2024

The latest version of retest on http://www.creytiv.com/pub/ seems to be 0.5.1

from baresip-android.

wsat avatar wsat commented on May 27, 2024

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.

alfredh avatar alfredh commented on May 27, 2024

okay. as I said, please open a new Issue for the opengles work.

from baresip-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.