Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation, either version 2 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with this program. If not, see http://www.gnu.org/licenses/.
Getting Started: Building and Using PJSIP and PJMEDIA
[Last Update: $Date: 2007-02-02 20:42:44 +0000 (Fri, 02 Feb 2007) $]
Print Friendly Page
_________________________________________________________________
This article describes how to download, customize, build, and use the open
source PJSIP and PJMEDIA SIP and media stack. The online (and HTML) version
of this file can be downloaded from http://www.pjsip.org/using.htm
Quick Info
_________________________________________________________________
Building with GNU tools (Linux, *BSD, MacOS X, mingw, etc.)
Generally these should be all that are needed to build the libraries,
applications, and samples:
$ ./configure
$ make dep && make clean && make
Building Win32 Target with Microsoft Visual Studio
Generally we can just do these steps:
1. Visual Studio 6: open pjproject.dsw workspace,
2. Visual Studio 2005: open pjproject-vs8.sln solution,
3. Create an empty pjlib/include/pj/config_site.h, and
4. build the pjsua application.
Building for Windows Mobile
Generally these are all that are needed:
1. Open pjsip-apps/build/wince-evc4/wince_demos.vcw EVC4 workspace,
2. Create an empty pjlib/include/pj/config_site.h, and
3. build the pjsua_wince application.
Invoking Older Build System (e.g. for RTEMS)
Generally these should be all that are needed to build the libraries,
applications, and samples:
$ ./configure-legacy
$ make dep && make clean && make
Locating Output Binaries/Libraries
Libraries will be put in lib directory, and binaries will be put in
bin directory, under each projects.
Running the Applications
After successful build, you can try running pjsua application on
pjsip-apps/bin directory. PJSUA manual can be found in
http://www.pjsip.org/pjsua.htm page.
Table of Contents:
_________________________________________________________________
1. Getting the Source Distribution
1.1 Getting the Release tarball
1.2 Getting from Subversion trunk
1.3 Source Directories Layout
2. Build Preparation
2.1 config_site.h file
2.2 Disk Space Requirements
3. Building Linux, *nix, *BSD, and MacOS X Targets with GNU Build
Systems
3.1 Supported Targets
3.2 Requirements
3.3 Running configure
3.4 Running make
3.5 Cross Compilation
3.6 Build Customizations
4. Building for Windows Targets with Microsoft Visual Studio
4.1 Requirements
4.2 Building the Projects
4.3 Debugging the Sample Application
5. Building for Windows Mobile Targets (Windows CE/WinCE/PDA/SmartPhone)
5.1 Requirements
5.2 Building the Projects
6. Older PJLIB Build System for Non-Autoconf Targets (e.g. RTEMS)
6.1 Supported Targets
6.2 Invoking the Build System
7. Running the Applications
7.1 pjsua
7.2 Sample Applications
7.3 pjlib-test
7.4 pjsip-test
8. Using PJPROJECT with Applications
Appendix I: Common Problems/Frequently Asked Question (FAQ)
I.1 fatal error C1083: Cannot open include file: 'pj/config_site.h':
No such file or directory
1. Getting the Source Code Distribution
_________________________________________________________________
All libraries (PJLIB, PJLIB-UTIL, PJSIP, PJMEDIA, and PJMEDIA-CODEC) are
currently distributed under a single source tree, collectively named as
PJPROJECT or just PJ libraries. These libraries can be obtained by either
downloading the release tarball or getting them from the Subversion trunk.
1.1 Getting the Release tarball
_________________________________________________________________
Getting the released tarball is a convenient way to obtain stable version of
PJPROJECT. The tarball may not contain the latest features or bug-fixes, but
normally it is considered more stable as each will be tested more rigorously
before released.
The latest released tarball can be downloaded from the
http://www.pjsip.org/download.htm.
1.2 Getting from Subversion trunk
_________________________________________________________________
PJPROJECT Subversion repository will always contain the latest/most
up-to-date version of the sources. Normally the Subversion repository is
always kept in a "good" state. However, there's always a chance that things
break and the tree doesn't build correctly (particularly for the
"not-so-popular" targets), so please consult the mailing list should there
be any problems.
Using Subversion also has benefits of keeping the local copy of the source
up to date with the main PJ source tree and to easily track the changes made
to the local copy, if any.
What is Subversion
Subversion (SVN) is Open Source version control system similar to CVS.
Subversion homepage is in http://subversion.tigris.org/
Getting Subversion Client
A Subversion (SVN) client is needed to download the PJ source files from
pjsip.org SVN tree. SVN client binaries can be downloaded from
http://subversion.tigris.org/, and the program should be available for
Windows, Linux, MacOS X, and many more platforms.
Getting the Source for The First Time
Once Subversion client is installed, we can use these commands to initially
retrieve the latest sources from the Subversion trunk:
$ svn co http://svn.pjproject.net/repos/pjproject/trunk pjproject
$ cd pjproject
Keeping The Local Copy Up-to-Date
Once sources have been downloaded, we can keep the local copy up to date by
periodically synchronizing the local source with the latest revision from
the PJ's Subversion trunk. The mailing list provides best source of
information about the availability of new updates in the trunk.
To update the local copy with the latest changes in the main PJ's
repository:
$ cd pjproject
$ svn update
Tracking Local and Remote Changes
To see what files have been changed locally:
$ cd pjproject
$ svn status
The above command only compares local file against the original local copy,
so it doesn't require Internet connection while performing the check.
To see both what files have been changed locally and what files have been
updated in the PJ's Subversion repository:
$ cd pjproject
$ svn status -u
Note that this command requires active Internet connection to query the
status of PJPROJECT's source repository.
1.3 Source Directories Layout
_________________________________________________________________
Top-Level Directory Layout
The top-level directories (denoted as $TOP here) in the source distribution
contains the following sub-directories:
$TOP/build
Contains makefiles that are common for all projects.
$TOP/pjlib
Contains header and source files of PJLIB. PJLIB is the base
portability and framework library which is used by all other
libraries
$TOP/pjlib-util
没有合适的资源?快使用搜索试试~ 我知道了~
PjSIP 实现视频通话
共3935个文件
h:702个
c:662个
o:415个
2星 需积分: 50 27 下载量 45 浏览量
2018-09-28
11:44:30
上传
评论 3
收藏 38.57MB ZIP 举报
温馨提示
PjSIP 实现视频通话,实现免提,SurfaceView 上下叠加显示,并且能切换。导入到Eclipse 就能用。jdk 采用7 的。希望大家互相学习,只要改掉里面的ip和port 以及对应分机的 密码就能注册使用。服务端我是用FS,能与电脑端的互相视频通信,视频编码采用H264 .里面有完整的 步骤以及代码。
资源推荐
资源详情
资源评论
收起资源包目录
PjSIP 实现视频通话 (3935个子文件)
toast.1 4KB
bitter.1 2KB
CVPCMNL1_SVA_C.264 3.05MB
LS_SVA_D.264 635KB
BA1_FT_C.264 606KB
CI1_FT_B.264 405KB
NLMQ1_JVC_C.264 402KB
BAMQ1_JVC_C.264 402KB
MR2_MW_A.264 318KB
MR2_TANDBERG_E.264 265KB
NLMQ2_JVC_C.264 253KB
BAMQ2_JVC_C.264 252KB
MR1_MW_A.264 158KB
MPS_MW_A.264 154KB
test_vd_1d.264 56KB
BANM_MW_D.264 55KB
CI_MW_D.264 55KB
MIDR_MW_D.264 55KB
BA_MW_D.264 55KB
NRF_MW_E.264 54KB
test_vd_rc.264 48KB
SVA_NL1_B.264 32KB
SVA_BA1_B.264 32KB
SVA_CL1_E.264 18KB
Static.264 9KB
SVA_FM1_E.264 8KB
SVA_Base_B.264 8KB
SVA_NL2_E.264 8KB
SVA_BA2_D.264 7KB
gsm_option.3 5KB
gsm.3 3KB
gsm_print.3 2KB
gsm_explode.3 1KB
libpjsip.a 7.82MB
libpjmedia.a 2.69MB
libopenh264.a 909KB
libpjlib.a 797KB
libspeex.a 708KB
libpjnath.a 707KB
libpjlib-util.a 453KB
libencoder.a 448KB
libsrtp.a 335KB
libdecoder.a 259KB
libprocessing.a 148KB
libresample.a 57KB
libcommon.a 54KB
aconfigure.ac 55KB
aconfigure 269KB
resources.ap_ 39KB
iokphone-v2.apk 1.92MB
deblock.asm 127KB
vaa.asm 66KB
satd_sad.asm 55KB
intra_pred.asm 37KB
downsample_bilinear.asm 32KB
intra_pred.asm 31KB
x86inc.asm 29KB
mc_luma.asm 23KB
expand_picture.asm 19KB
dct.asm 14KB
mb_copy.asm 14KB
asm_inc.asm 13KB
coeff.asm 11KB
quant.asm 10KB
matrix_transpose.asm 10KB
score.asm 10KB
vaa.asm 9KB
sample_sc.asm 7KB
mc_chroma.asm 7KB
cpuid.asm 6KB
denoisefilter.asm 6KB
row_x86.asm 4KB
memzero.asm 4KB
dct.asm 3KB
AUTHORS 502B
make.bat 5KB
AutoBuild_Windows_VS2008.bat 1KB
starttest_sample.bat 1KB
fixdir.bat 449B
ABLD.BAT 335B
00.bat 244B
fixfile.bat 210B
svn_pset.bat 155B
01.bat 131B
svn_add.bat 122B
pjsua.bmp 43KB
pjsua.bmp 12KB
list_icon.bmp 2KB
mark_icon.bmp 2KB
list_icon_mask.bmp 294B
mark_icon_mask.bmp 166B
alaw_ulaw_table.c 187KB
py_pjsua.c 152KB
pa_win_wmme.c 149KB
sip_inv.c 139KB
pjsua_call.c 136KB
pa_linux_alsa.c 128KB
pa_linux_asihpi.c 121KB
_pjsua.c 113KB
pa_win_wdmks.c 105KB
共 3935 条
- 1
- 2
- 3
- 4
- 5
- 6
- 40
资源评论
- 可以一直吃2021-10-15没得用。。。。。。。
zhu_hanqin
- 粉丝: 1
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功