Questions tagged [pjsua2]

PJSUA2 is an object-oriented abstraction above open source command line SIP user agent (softphone) PJSUA API. Use this tag for questions related to this type of OO abstraction.

PJSUA2 is an object-oriented abstraction above open source command line SIP user agent (softphone) PJSUA API. Use this tag for questions related to this type of OO abstraction.

152 questions
7
votes
1 answer

How to change codec priority in pjsip android

I am trying to change the priority of codecs used in pjsip android. I am able to get the codecs priority but after changing the codecs priority,it is not reflecting back. if( ep != null) { try { CodecInfoVector…
Jeeva
  • 1,791
  • 2
  • 23
  • 42
6
votes
3 answers

How to install pjsua2 packages for python?

I am trying to create softphone using Python. I found this link describing pjsua2 but there are no any clear steps that define how to install pjsua2 package for python. Can any one please define me clear steps on installing pjsua2 that can be used…
Sangit Gurung
  • 111
  • 1
  • 11
5
votes
3 answers

how to pause and unpause video transmission using Android Pjsua 2?

I wish to pause and unpause video transmission in video call on fly without dropping Audio call using Android Pjsua2 library. But some how i am not able to understand how to implement that feature to sample android pjsua2 app. Any help would be…
tomtom
  • 345
  • 2
  • 15
5
votes
2 answers

Is it possible to use pjsua2 in python to use AudioMedia Memory/Buffer-based Playback Port in real time?

I'm developing a SIP client using python, based on pjsua2. I have a custom Call class based on python wrapper call and my code is able to get an active connection. On my custom onCallMediaState, I have access to the Audio Conference Bridge: def…
vgonisanz
  • 11,831
  • 13
  • 78
  • 130
4
votes
2 answers

How to build PJSUA2 (swig) with Visual Studio 2015

I try to compile PJSUA2 for Python. I could manage to compile the source with Visual Studio 2015 Community edition. My question is, how can I install the Python module now? The guide suggests to use make and make install. I tried to install also…
Krisz
  • 701
  • 7
  • 23
3
votes
1 answer

I am trying to implement PJSUA2 python on AWS EC2 to make calls. How can I access the local audio media like mic and speaker?

I tried to use NAT using STUN server and checking the ICE flag in UA config as below. ua_cfg = pj.UAConfig() ua_cfg.stun_host = "XX.XX.XXX.XX" my_media_cfg = pj.MediaConfig() my_media_cfg.enable_ice = True log_cfg = pj.LogConfig(level=5,…
3
votes
2 answers

How can I improve video quality of pjsip pjsua2 sample Android App?

Current default sample Android pjsip pjsua2 sample app sends very poor video quality and I wish to improve this to atleast HD quality. I have tried using the below methods, but it keep on showing very low video quality. How can I improve outgoing…
James
  • 318
  • 1
  • 10
3
votes
1 answer

Recording sip calls in android with PJSUA

I am developing a sip app with internal recording. I need the both side audios to be recorder internally in mobile itself. Read several blogs and articles regarding the same. I know the only solution is using the NDK. After a great effort, I…
Ameena Shafeer
  • 626
  • 3
  • 18
3
votes
1 answer

PJSUA2 - Python - How to handle callbacks and createRecorder?

After going thru pygui code available in PJSIP library site, I modified the example as below. I have two issues In each call back function, at the end I need to add a dummy raise exception, else it misbehaves. For example, if I comment dummy…
Sekar S
  • 163
  • 1
  • 10
3
votes
1 answer

incompatible target when trying to build libpjsua2.so file after successful compilation for android in pjsip

I am trying to build so file for pjsip for android. After following the steps mentioned in this link https://trac.pjsip.org/repos/wiki/Getting-Started/Android I am able to successfully build until these steps. $ ./configure-android $ make dep &&…
Jeeva
  • 1,791
  • 2
  • 23
  • 42
3
votes
2 answers

How is possible get only the device to capture or playback using pjsua2

I trying get the devices from pjsua2 , I got it get all devices, but do not got split in capture device and playback device. void AudioController::load(){ Endpoint ep; ep.libCreate(); // Initialize endpoint EpConfig ep_cfg; …
Sileno Brito
  • 449
  • 1
  • 13
  • 31
3
votes
2 answers

PJSUA2 Java - How to get ongoing Call's AudioMedia

I'm using the Java library for PJSUA / PJSIP and i'm trying to get the AudioMedia for an answered call but its not working. I've followed the C++ documentation (no Java doc for answering calls) which has led me to the following…
Tom
  • 508
  • 4
  • 16
3
votes
0 answers

Pjsua-2, Android - How to send media attribute with SIP INVITE request?

I am using PJSUA library to build a VOIP softphone for android. I need to send a media attribute with the SIP INVITE message as: a=rtpmap:101 telephone-event/8000 I tried setting it in SipMediaType as follows but it doesn't work. SipMediaType…
rya
  • 1,417
  • 1
  • 16
  • 29
2
votes
0 answers

How to set endpt.disable_tcp_switch configuration?

I'm using this library; https://github.com/datso/react-native-pjsip I getting UDP size exceed error and need disable tcp switch setting. This settings in PJSIP this variable endpt.disable_tcp_switch…
2
votes
2 answers

pjsip/pjsua2 - how to get audio stream to send it to Speech-to-Text engine

I am trying to obtain an audio stream from call audio media to be able to send it to Speech-to-Text engine (to transcribe audio from streaming input). Any idea on how to achieve this? Version info: pjlib 2.8-svn for POSIX Thank you in advance.
Jakub
  • 21
  • 1
  • 3
1
2 3
10 11