Skip to content

Commit

Permalink
Updated description for new deps
Browse files Browse the repository at this point in the history
  • Loading branch information
nikialeksey committed Feb 28, 2024
1 parent d9fe729 commit 21b56e3
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,25 @@
# PJSIP Android Builder

Easily build PJSIP with: OpenSSL, OpenH264, Opus and G.729 (without Intel IPP) for Android.
Easily build PJSIP with: OpenSSL, Opus and G.729 (without Intel IPP) for Android.

## Purpose

I needed an easily replicable build system to build PJSIP <http://www.pjsip.org/> native library with NDK for Android. So, I created an Ubuntu docker container (20.04.4 LTS) and wrote some scripts to download, install all the requirements needed to make it a complete build environment and some automated build scripts.
I needed an easily replicable build system to build PJSIP <http://www.pjsip.org/> native library with NDK for Android.
So, I created an Ubuntu docker container (22.04 LTS) and wrote some scripts to download, install all the requirements needed to make it a complete build environment and some automated build scripts.
If you want to contribute, your help is really appreciated :)

## Support - PJSIP 2.9+
## Support - PJSIP 2.13+

Using Android API `21`.
Using Android API `28`.
Default versions included:

- Android Cmd Tools: `8512546`
- Android NKD: `r21e`
- OpenSSL: `1.1.1k` (Uses NDK Level 21)
- OpenH264: `2.1.0` (Uses NDK Level 21)
- Android NKD: `r26c`
- OpenSSL: `3.1.2` (Uses NDK Level 28)
- Opus: `1.3.1`
- bcg729: `1.1.1`
- Swig: `4.0.2`

## Legacy support

Checkout tag `2.2.0` to build older pjsip (or other libs) versions.

## Setup

You can install everything on your local machine, or (the way I do) use an Ubuntu Docker container and mount an external volume with this repo. E.g.:
Expand All @@ -41,7 +37,7 @@ docker run -it --name pjsip-builder -v /path/to/host/repo:/home ubuntu bash
### Prepare Environment

1. Execute `./prepare-build-system`
2. If everything goes well you should see all the compiled libraries (opus, openh264, openssl, bcg729) in the **output** folder.
2. If everything goes well you should see all the compiled libraries (opus, openssl, bcg729) in the **output** folder.

## Build PJSIP

Expand All @@ -68,7 +64,6 @@ This project has separate independent script to build only single libraries:

- Bcg729
- OpenSSL
- OpenH264
- Opus

If you want to build a single library, or just change it's version, you can disable everything except the library you want to build from the `config.conf` file and specify the version you want (of course you would also need the NDK). Then execute the `prepare-build-system` script. If the environment is ready you can also just run the lib dedicated script.
Expand Down

0 comments on commit 21b56e3

Please sign in to comment.