pjsip

How to call group using PJSIP

百般思念 提交于 2021-02-20 00:43:58
问题 How can I make a call between three, four and more accounts using PJSIP API in iOS? To make a call between two account, I use pjsua_call_make_call function. char *destUri = "sip:account@example.com"; pj_status_t status; pj_str_t uri = pj_str(destUri); status = pjsua_call_make_call(_acc_id, &uri, 0, NULL, NULL, NULL); if (status != PJ_SUCCESS) error_exit("Error making call", status); 回答1: I have no experience to run PJSIP on iOS yet (may be there is some restrictions on call count in iOS

How to call group using PJSIP

眉间皱痕 提交于 2021-02-20 00:41:46
问题 How can I make a call between three, four and more accounts using PJSIP API in iOS? To make a call between two account, I use pjsua_call_make_call function. char *destUri = "sip:account@example.com"; pj_status_t status; pj_str_t uri = pj_str(destUri); status = pjsua_call_make_call(_acc_id, &uri, 0, NULL, NULL, NULL); if (status != PJ_SUCCESS) error_exit("Error making call", status); 回答1: I have no experience to run PJSIP on iOS yet (may be there is some restrictions on call count in iOS

Enabling log in PJSIP for Android forces close the app

半城伤御伤魂 提交于 2021-02-10 13:23:35
问题 I'm building a SIP Softphone using PJSIP for android based on SWIG example. I enable log as described in the sample: LogConfig log_cfg = epConfig.getLogConfig(); SipLogWriter logWriter = new SipLogWriter(); log_cfg.setWriter(logWriter); log_cfg.setDecor(log_cfg.getDecor() & ~(pj_log_decoration.PJ_LOG_HAS_CR.swigValue() | pj_log_decoration.PJ_LOG_HAS_NEWLINE.swigValue())); where my SipLogWriter class is: public class SipLogWriter extends LogWriter { @Override public void write(LogEntry entry)

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

北邮计算机网络实验-用开源代码实现一个SIP客户端

我们两清 提交于 2020-12-11 11:52:22
文章目录 一、背景知识 1.1 VOIP 1.2 SIP协议 1.3 实验要求 二、实验准备 2.1实验环境 2.2 PJSIP开源项目下载 2.3 Visual Studio安装 2.4 QT下载安装(实现视频通话) 2.5 下载SDL(实现视频通话) 2.6下载FFmpeg(实现视频通话) 三、 实现在呼叫中心的注册 3.1 项目编译 3.2 呼叫中心注册 3.2.1 呼叫IVP 3.2.2 注册组号 3.2.3 登录 四、实现视频电话 4.1 编译pjsip的底层支持 4.1.1 文件准备 4.1.2 建立链接 4.2 编译pjsip的图形界面 4.3 发布可执行文件并跨机通话测试 4.3.1 添加依赖库 4.3.2 通话测试 总结 提示:以下是本篇文章正文内容,下面案例可供参考 一、背景知识 1.1 VOIP VOIP:基于IP的语音传输(英语:Voice over Internet Protocol,缩写为VoIP)是一种语音通话技术,经由网际协议(IP)来达成语音通话与多媒体会议,也就是经由互联网来进行通信。也被称为IP电话(IP telephony)、互联网电话(Internet telephony)、宽带电话(broadband telephony)以及宽带电话服务(broadband phone service)等。 优势