Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juha-h/libbaresip-android
libbaresip for Android
https://github.com/juha-h/libbaresip-android
Last synced: 23 days ago
JSON representation
libbaresip for Android
- Host: GitHub
- URL: https://github.com/juha-h/libbaresip-android
- Owner: juha-h
- License: other
- Created: 2018-10-16T13:23:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-30T07:48:40.000Z (6 months ago)
- Last Synced: 2024-04-30T08:53:16.652Z (6 months ago)
- Language: Makefile
- Size: 248 KB
- Stars: 38
- Watchers: 6
- Forks: 29
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
libbaresip-android
==================This project shows how to build libbaresip for Android on Debian 12 using Android NDK. Resulting libbaresip can be used in Baresip based Android (Studio) applications.
## Step 0 - prerequisites
Download and unzip Android NDK for Linux from:
```
https://developer.android.com/ndk/downloads
```
or use NDK (r26c or newer) that comes with Android Studio.Install the following Debian packages:
```
apt install wget make libtool m4 automake pkg-config
apt install -t bullseye-backports cmake
```
## Step 1 - clone libbaresip-androidClone libbaresip-android repository:
```
$ git clone https://github.com/juha-h/libbaresip-android.git
```
This creates libbaresip-android directory containing Makefile.Go to libbaresip-android directory and checkout master branch.
## Step 2 - edit Makefile
You need to set (or check) the variables listed in VALUES TO CONFIGURE section.
## Step 3 - download source code
Download source code:
```
$ make download-sources
```
This will also patch re and baresip as needed by baresip-studio project.After that you should have in libbaresip-android directory these source directories:
```
abseil-cpp
amr
baresip
bcg729
codec2
g7221
openssl
opus
re
sndfile
spandsp
tiff
vo-amrwbenc
webrtc
zrtpcpp
```## Step 4 - build and install libraries
Build and install the libraries only for a selected architecture with command:
```
$ make libbaresip ANDROID_TARGET_ARCH=$ARCH
```
by replacing $ARCH with armeabi-v7a or arm64-v8a.Or you can build and install the libraries for all architectures with command:
```
$ make all
```