pjsip

How to resolve the linker error in C++ compiler

此生再无相见时 提交于 2020-01-30 10:39:31
问题 I have to compile PJSIP in CPP compiler. Because I am integrating an API with PJSIP . It is in CPP . So I have to use g++ instead of gcc . But now I didn't integrate any other API. But I am getting linker error in CPP compiler. If it is C compiler, it is working fine. Error: Undefined symbols for architecture arm: "_crypto_alloc", referenced from: srtp_stream_clone(srtp_stream_ctx_t const*, unsigned int, srtp_stream_ctx_t**)in libsrtp-arm-apple-darwin9.a(srtp.o) srtp_stream_alloc(srtp_stream

Regarding G729 integration in pjsip

纵然是瞬间 提交于 2020-01-16 18:45:28
问题 I am querying on this because I am not a C expert .See if any one who has worked around it could help.I am integrating g729 in pjsip lib and I got g729 codec files from here.Here are I steps I have followed : First I have registered g729 in 'pjmedia/src/pjmedia-codec/audio_codecs.c' by putting this #if PJMEDIA_HAS_G729_CODEC /* Register G729 */ status = pjmedia_codec_g729_init(endpt); if (status != PJ_SUCCESS){ return status; } #endif Now I have two files 'pj_g729.c' and 'pj_g729.h' that I

How do I manage the audio output levels with PJSUA2 for Android

喜你入骨 提交于 2020-01-15 05:27:26
问题 I have an Android project that uses PJSUA2 for VoIP communication and everything else works just fine. I am stymied however, with a problem where I cannot get the Volume controls to work in the Activity where my active call is shown. I have tried doing it the recommended way - audioManager = (AudioManager) getSystemService(AUDIO_SERVICE); setVolumeControlStream(AudioManager.STREAM_MUSIC); This doesn't do anything. I need to know if using OnKey Listeners is a feasible alternative to manually

JNA: Library function call returns java.lang.Error: Invalid memory access

梦想与她 提交于 2020-01-14 03:34:48
问题 I am working on a java project. In my project i am using java native access(jna) to use a c library pjsip. I have successfully used some of the function. But when i try to call pj_pool_create() , i get: java.lang.Error: Invalid memory access I have searched all the related problem published on mailing list, stack overflow, github etc. But I can not get to the solution. I placed some printf in the source code of the function before compiling it. All the printf statement get printed even the

About Notification for Missed Call in android

萝らか妹 提交于 2020-01-13 07:20:16
问题 I am using voip sip for calling processing calls when Push-Notification received. I want to create top bar notification for missed call . I am already processing calls when Push-Notification receives. I already searched lot of things but nothing helped me. My question is, i'm making calls after receiving Push-Notification , so likewise i want to display notification after receiving Push Notification, so for that how do I differentiate for which i am receiving Push-Notification . 回答1: The

Cannot load library: reloc_library[1285]: cannot locate 'rand'

落花浮王杯 提交于 2020-01-07 05:53:40
问题 I'm trying to use PJSIP library for my Android application. I built pjsua sample application according to this manual: https://trac.pjsip.org/repos/wiki/Getting-Started/Android But when sample application is launching, exception triggers: 12-06 15:03:58.043: D/dalvikvm(628): Trying to load lib /data/data/org.pjsip.pjsua2.app/lib/libpjsua2.so 0x4129d980 12-06 15:03:58.064: W/dalvikvm(628): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lorg/pjsip/pjsua2/app/MyApp; 12-06

PJSIP: Error file not found

老子叫甜甜 提交于 2020-01-05 06:29:30
问题 I working on Project a project to make an iOS App to work like Viber/Skype using VoIP Protocol. For this I am using pjsip SDK but I get some Error :( File not found, unknown type name, etc Please help. Thanks in Advance. 回答1: Based upon your screenshot,you have renamed the sample files in pjsipapp.but you have not configured the header paths and libarary paths. In your target click build settings and in search paths add your library paths.Hope it helps 来源: https://stackoverflow.com/questions

How to close Callkit screen after VOIP call disconnected

自作多情 提交于 2020-01-04 04:06:27
问题 I am trying to remove callkit screen once my voip call is disconnected by source or destination. I used this code CXEndCallAction *endaction = [[CXEndCallAction alloc] initWithCallUUID:[NSUUID UUID]]; CXCallController *callController = [[CXCallController alloc] initWithQueue:dispatch_get_main_queue()]; requestTransaction:[CXTransaction transactionWithActions:nil completion:completion]]; But it is not working to close the callkit. Can any one help me to solve this issue? 回答1: You can use this

Error While building PJSiP in Android

做~自己de王妃 提交于 2020-01-04 02:39:08
问题 When i tried to put this command while building pjsip for android, TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags This error occured, compiler not found, please check environment settings (TARGET_ABI, etc) can somebody give me an explanation.pls 回答1: I'm sure you've moved on past this by now, but for anyone else who finds this thread: Just set the NDK_TOOLCHAIN_VERSION environment variable to 4.9 This can be done either by doing an export prior to the configure call: export NDK

Building PJSIP: giving error for Make command on ubuntu

不羁岁月 提交于 2020-01-02 07:17:12
问题 I want to use the pjsip library in ubuntu 13.10 and tried the steps given in getting started page of pjsip.org I tried to build the pjsip lib by using the following sequence of commands and also I edited the config_site.h to have the #define PJMEDIA_HAS_VIDEO line in it. Also I installed video4linux2 and ffmpeg before running these commands cd pjproject ./configure make dep make After I ran the last command I got following error: make[2]: Entering directory `/home/vk/pjproject/pjsip/build'