pjsua2

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

[亡魂溺海] 提交于 2021-02-05 05:51:47
问题 Current default sample Android pjsip pjsua2 sample app sends a very bad video quality and wish to improve them to atleast Hd quality. I have tried using below methods , but it keep on showing a very low video quality. How can i improve outgoing video quality. This sample app is able to receive upto 355 * 288 video quality from other sip video call ,but it sends a very poor video quality. Currently i have tried to achieve hd video by updating below value from MediaFormatvideo file , just

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

不问归期 提交于 2021-02-05 05:51:10
问题 Current default sample Android pjsip pjsua2 sample app sends a very bad video quality and wish to improve them to atleast Hd quality. I have tried using below methods , but it keep on showing a very low video quality. How can i improve outgoing video quality. This sample app is able to receive upto 355 * 288 video quality from other sip video call ,but it sends a very poor video quality. Currently i have tried to achieve hd video by updating below value from MediaFormatvideo file , just

Pjsip Android Video Call: Inverted Video Preview

眉间皱痕 提交于 2021-01-29 07:50:14
问题 I am using Pjsip library for SIP Video call. I am facing issue displying my own view in a SurfaceView . Here is the image: Expected View: Fetching Preview ID in onCallMediaState mVideoPreview = VideoPreview(mediaInfo.videoCapDev) mVideoWindow = VideoWindow(mediaInfo.videoIncomingWindowId) Code I have used to display this preview in my SurfaceView: fun updateVideoPreview(holder: SurfaceHolder) { if (SipManager.currentCall != null && SipManager.currentCall?.mVideoPreview != null) { if

How to install pjsua2 packages for python?

回眸只為那壹抹淺笑 提交于 2020-06-11 05:31:58
问题 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 in python ? 回答1: These steps shall work Step1: Create a directory. /PJSUA2/pjproject/src Step2: install required modules sudo apt-get install libasound2-dev libssl-dev libv4l-dev libsdl2-dev libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev

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

PJSUA2: Contact header uri length limit

二次信任 提交于 2019-12-25 01:39:02
问题 I'm building an android VOIP application with push notifications support, based on PJSUA2. I need to send the push notification (FCM) token to the server (Asterisk in my case) as contact uri parameter, so that I can retrieve it with a script from the server and send notification to wake up client before sending an incoming call request. I put the parameters in the contact uri parameters with acfg.getSipConfig().setContactUriParams(buildParams(contactParameters)); contactParams is a HashMap