Giter VIP home page Giter VIP logo

pjsip-android's Introduction

PJSIP for Android

This is the famous PJSIP library compiled for Android. For more information about the PJSIP library visit the developer site here

The current version of this library is 2.6.

Reporting issues

Please contact the PJSIP team directly. I´m only compiling and publishing PJSIP for Android on JCenter.

https://trac.pjsip.org/repos

Integrated features

Nothing special. I´ve compiled it with all standard features and values BUT without video support and OpenSSL. As an extra feature I´ve added and activated WebRTC AEC.

If you need something special like video support or OpenSSL, drop me a message. On a good day I´ll maybe compile it for you ;-) Or just do it on your own.

Add library to your project

Just add this dependency to your project and you're good to go

dependencies {
    compile "de.d0pam1n:pjsip-for-android:2.6"
}

pjsip-android's People

Contributors

d0pam1n avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

pjsip-android's Issues

Please help!

I made app with this gradle library.

but it's not working

App is crashed with this error:

java.lang.UnsatisfiedLinkError: No implementation found for void org.pjsip.pjsua2.pjsua2JNI.swig_module_init() (tried Java_org_pjsip_pjsua2_pjsua2JNI_swig_1module_1init and Java_org_pjsip_pjsua2_pjsua2JNI_swig_1module_1init__)
at org.pjsip.pjsua2.pjsua2JNI.swig_module_init(Native Method)
at org.pjsip.pjsua2.pjsua2JNI.(pjsua2JNI.java:2507)
at org.pjsip.pjsua2.pjsua2JNI.new_Endpoint(Native Method)
at org.pjsip.pjsua2.Endpoint.(Endpoint.java:68)

I don't konw why this error come up.

jniLibs is in this library but I thing my App cannot load those .so files...

How do I do?

please help me any one.

How did you build the pjsua2?

Hi, would you mind sharing your scripts for building the .so library? For me it doesnt work, its driving me nuts. Youd greatly help me, thanks

Need Video Support

Hello Andreas Pfister,

Can you please compile it for Video Calling.
I have tried to compile it for the same but it's not generating Video call its generating only Audio call.

Is OpenSSL also required for normal Video call? (i have not compiled OpenSSL, I have just compiled "libpjsua2.so" & "libopenh264.so")

In INVITE & RESPONSE packet also not having Video information.

Version is: 2.6

Thanks
Anshuman

Native Method

I got the below error:

A/zygote: runtime.cc:550] at org.pjsip.pjsua2.pjsua2JNI.Call_makeCall(Native method)
A/zygote: runtime.cc:550] at org.pjsip.pjsua2.Call.makeCall(Call.java:107)
E/TAG: buddy_uri---->600
E/AudioRecord: AudioFlinger could not create record track, status: -1
E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -1.
E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
E/AudioRecord: AudioFlinger could not create record track, status: -1

public void makeCall(String dst_uri, CallOpParam prm) throws java.lang.Exception {
  pjsua2JNI.Call_makeCall(swigCPtr, this, dst_uri, CallOpParam.getCPtr(prm), prm);
}

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.