Giter VIP home page Giter VIP logo

vialer-pjsip-android's Introduction

README

This repository allows you to build pjlib as a static library for android.

Currently supported en build library for:

ABI SSL OPUS
armeabi X X
armeabu-v7a X X
arm64-v8a X X
x86 X X
x86_64 X X
mips64 X X

How To

To build a clean library the following commands are needed docker-compose build docker-compose run pjsip Now you are in the docker container and now start with the following command cd home ./build.sh

Go get cup of coffee because this is gonna take a while :)

After the build is complete there is a pjsip.aar file in the root directory.

To use the new compiled Android library in your project you must do the following.

  • Copy the aar file to the following directory in your android project. app/libs
  • Open your build.gradle file in the app folder.
  • In the dependencies part add the following line. compile(name: 'pjsip', ext: 'aar')

And now you Android application is ready to use PJSIP!

vialer-pjsip-android's People

Contributors

00stefan00 avatar c0deaddict avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vialer-pjsip-android's Issues

Docker throws error about jessie-backports not having a release file

When I run docker-compose build I get the following error:

Running hooks in /etc/ca-certificates/update.d...
done.
Removing intermediate container 33607d947ea1
 ---> 9ce50bf458ee
Step 6/21 : RUN echo 'deb http://deb.debian.org/debian jessie-backports main' > /etc/apt/sources.list.d/jessie-backports.list
 ---> Running in 9b0e374a5316
Removing intermediate container 9b0e374a5316
 ---> e356a67938d7
Step 7/21 : RUN apt-get update -y
 ---> Running in 97c00456d9d7
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Ign:3 http://deb.debian.org/debian jessie-backports InRelease
Err:4 http://deb.debian.org/debian jessie-backports Release
  404  Not Found [IP: 199.232.36.204 80]
Hit:5 http://security.debian.org/debian-security buster/updates InRelease
Reading package lists...
E: The repository 'http://deb.debian.org/debian jessie-backports Release' does not have a Release file.
ERROR: Service 'pjsip' failed to build: The command '/bin/sh -c apt-get update -y' returned a non-zero code: 100

Error while trying to get pjsip v2.6

I modified build.sh a bit(add 'PJLIB_VERSION=2.6' instead of 'PJLIB_VERSION=2.4.5') to get newer version of pjsip, but when I trying to do

docker run --rm pjlib-android > pjsip.tar

I've got an error:

Building for x86
mv: cannot stat 'java/android/libs/armeabi': No such file or directory
tar: src: Cannot stat: No such file or directory
tar: libs: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
Cannot create archive

Running docker on windows 10

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.