Git Product home page Git Product logo

Comments (6)

yoobi avatar yoobi commented on July 17, 2024 1

Okay thank you ! I'll do that and link this issue to their repo

from srtdroid.

ThibaultBee avatar ThibaultBee commented on July 17, 2024

Hi,

Yes, the minimal SDK version is set to 21 for srtdroid.
Could you upgrade your application minimal SDK version to 21?
I am not really interested to extend the minimal SDK version of srtdroid as I don't have any device to test that and the number of devices is < 1%.

from srtdroid.

yoobi avatar yoobi commented on July 17, 2024

I can't upgrade my minSdk, my app is being used in countries where my users (~300 000) are still using KitKat (API 19)
Without extending srtdroid to 19 maybe with a new branch or something that could help me figure out how to make this work, I don't really know C o C++ so it's quite hard for me to debug

Thanks in advance

from srtdroid.

ThibaultBee avatar ThibaultBee commented on July 17, 2024

Hum, not sure anymore.

I truied with branch https://github.com/ThibaultBee/srtdroid/tree/feat/android-19-support but unfortunatly, it seems that libsrt itself does not build for Android < 21. (See https://github.com/ThibaultBee/srtdroid/actions/runs/3918612479/jobs/6699102675)

The compile failed with issue:

 srtcore/sync_posix.cpp:306:5: error: use of undeclared identifier 'pthread_condattr_setclock'; did you mean 'pthread_condattr_setpshared'?
      pthread_condattr_setclock(&CondAttribs, CLOCK_MONOTONIC);
      ^~~~~~~~~~~~~~~~~~~~~~~~~
      pthread_condattr_setpshared

I can't do anything on srtdroid side. Please contact directly libsrt.

from srtdroid.

yoobi avatar yoobi commented on July 17, 2024

Turns out I need to recompile srt lib with a special argument for Android 19. Thanks for your help

from srtdroid.

ThibaultBee avatar ThibaultBee commented on July 17, 2024

I can add the flag in the project. Could you make a PR about it?

from srtdroid.

Related Issues (18)

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.