Chinaunix首页 | 论坛 | 博客
  • 博客访问: 59124
  • 博文数量: 22
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 232
  • 用 户 组: 普通用户
  • 注册时间: 2020-11-30 14:45
个人简介

专注流媒体、视频物联网、云计算、大数据开发

文章分类

全部博文(22)

文章存档

2021年(18)

2020年(4)

我的朋友

分类: LINUX

2021-02-26 10:01:06

EasyRTC系统作为TSINGSEE青犀视频开发的网页视频语音会议系统,其语音电话在网页上的实现是不可少的,在EasyRTC的MCU版本中,采用了freeswitch作为后台的RTC服务器。

FreeSWITCH支持多种通讯技术标准,包括SIP, H.323, IAX2以及GoogleTalk ,可以方便的与其他开源的PBX系统进行对接,同时具有很强的伸缩性。最新版本的 freeswitch1.10通过源代码的编译方式同以前的编译方式不同,依赖库也不再相同,因此编写该教程记录如何编译freeswitch1.10。

操作系统要求:Debian10,不建议使用更低版本的操作系统。 在Debian10下,按照以下命令编译即可。其他Linux操作系统需要另外的操作。


点击(此处)折叠或打开

  1. apt-get update && apt-get install -yq gnupg2 wget lsb-release
  2. wget -O - https://files.freeswitch.org/repo/deb/debian-release/fsstretch-archive-keyring.asc | apt-key add -
  3.  
  4. echo "deb `lsb_release -sc` main" > /etc/apt/sources.list.d/freeswitch.list
  5. echo "deb-src `lsb_release -sc` main" >> /etc/apt/sources.list.d/freeswitch.list
  6.  
  7. apt-get update
  8.   
  9. # Install dependencies required for the build
  10. apt-get build-dep freeswitch
  11.   
  12. # then let's get the source. Use the -b flag to get a specific branch
  13. cd /usr/src/
  14. git clone https://github.com/signalwire/freeswitch.git -bv1.10 freeswitch
  15. cd freeswitch
  16.   
  17. # Because we're in a branch that will go through many rebases, it's
  18. # better to set this one, or you'll get CONFLICTS when pulling (update).
  19. git config pull.rebase true
  20.   
  21. # ... and do the build
  22. ./bootstrap.sh -j
  23. ./configure
  24. make
  25. make install

其中 ./configure 命令后出现以下画面,则证明 freeswitch1.10的依赖全部存在,且是正确的。

EasyRTC具备了WebRTC的主要优势,非常具有实用价值了,除此之外EasyRTC满足语音视频社交、在线教育和培训、视频会议和远程医疗等场景;支持多终端接入方式之间互通,快速从零开始搭建实时音视频通信平台。


目前EasyRTC常应用于在线教育、企业办公、在线医疗、日常社交、视频客服、智能硬件场景、在线直播等场景。





阅读(995) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~