Skip to content

Commit

Permalink
Add PJSIP patching instructions to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
eofster committed Nov 7, 2018
1 parent 84c41c2 commit 9184581
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ Create `pjlib/include/pj/config_site.h`:
#define PJSIP_MAX_RESOLVED_ADDRESSES 32
#define PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION 1

Patch `pjlib/src/pj/sock_qos_darwin.c`:

$ patch -p0 -i /path/to/Telephone/ThirdParty/PJSIP/patches/sock_qos_darwin.patch

Build and install (remove `--with-opus` option if you don’t need Opus):

$ ./configure --prefix=/path/to/Telephone/ThirdParty/PJSIP --with-opus=/path/to/Telephone/ThirdParty/Opus --disable-video --disable-libyuv --disable-libwebrtc --host=x86_64-apple-darwin CFLAGS='-mmacosx-version-min=10.10'
Expand Down

0 comments on commit 9184581

Please sign in to comment.