intel webrtc 部署
Configure the MCU server
1. set the maximum numbers of open files, running processes and maximum stack size to a large enough number
sudo su
echo "* hard nproc unlimited
* soft nproc unlimited
* hard nofile
* soft nofile
* hard stack
* soft stack " >> /etc/security/limits.conf
2. add pam_limits.so in /etc/pam.d/login
echo "session required pam_limits.so" >> /etc/pam.d/login
3. CentOS, update /etc/security/limits.d/xx-nproc.conf
echo "* soft nproc unlimited
* hard nproc unlimited" >> /etc/security/limits.d/[0-9]*-nproc.conf
cat /etc/security/limits.d/[-]*-nproc.conf
4. update /etc/sysctl.conf:
echo "fs.file-max=200000
net.core.rmem_max=
net.core.wmem_max=
net.core.rmem_default=
net.core.wmem_default=
net.ipv4.udp_mem =
net.ipv4.tcp_rmem=
net.ipv4.tcp_wmem=
net.ipv4.tcp_mem= " >> /etc/sysctl.conf
5. enable the above config
/sbin/sysctl -p
ulimit -a
all in 1-5
#
sudo su
echo "* hard nproc unlimited
* soft nproc unlimited
* hard nofile
* soft nofile
* hard stack
* soft stack " >> /etc/security/limits.conf #
echo "session required pam_limits.so" >> /etc/pam.d/login #
echo "* soft nproc unlimited
* hard nproc unlimited" >> /etc/security/limits.d/[0-9]*-nproc.conf
cat /etc/security/limits.d/[-]*-nproc.conf #
echo "fs.file-max=200000
net.core.rmem_max=
net.core.wmem_max=
net.core.rmem_default=
net.core.wmem_default=
net.ipv4.udp_mem =
net.ipv4.tcp_rmem=
net.ipv4.tcp_wmem=
net.ipv4.tcp_mem= " >> /etc/sysctl.conf #
/sbin/sysctl -p
ulimit -a
Download 4.0 version
## 4.0 version
# code
wget http://registrationcenter-download.intel.com/akdlm/irc_nas/12880/Intel_CS_WebRTC.v4.0.zip # doc
wget http://registrationcenter-download.intel.com/akdlm/irc_nas/12880/Intel_CS_WebRTC_User_Document.v4.0.zip # RN
wget http://registrationcenter-download.intel.com/akdlm/irc_nas/12880/ReleaseNotes.pdf
Download 3.5.2 version
# code
wget http://registrationcenter-download.intel.com/akdlm/irc_nas/12532/Intel_CS_WebRTC.v3.5.2.zip # doc
wget http://registrationcenter-download.intel.com/akdlm/irc_nas/12532/Intel_CS_WebRTC_User_Document.v3.5.zip #RN
wget http://registrationcenter-download.intel.com/akdlm/irc_nas/12532/ReleaseNotes.pdf
Intall 4.0 Version
RTCVER=4.0
sudo yum install unzip
sudo yum -y install bzip2 unzip Intel_CS_WebRTC.v$RTCVER.zip -d cs_webrtc
cd cs_webrtc
tar xf CS_WebRTC_Conference_Server_MCU.v[-].*[-].tgz
cd Release-v$RTCVER echo "Choose Yes during install"
./video_agent/install_deps.sh echo "install_openh264.sh to install openh264 or uninstall_openh264.sh to uninstall openh264"
echo "build ffmpeg with libfdkaac" ./audio_agent/compile_ffmpeg_with_libfdkaac.sh
cp ffmpeg_libfdkaac_lib/* audio_agent/lib/ echo "Check cert"
ls management_console/cert nuve/cert portal/cert webrtc_agent/cert
echo "Check configure file"
ls management_console/management_console.toml nuve/nuve.toml portal/portal.toml webrtc_agent/agent.toml
cat extras/basic_example/README.md
安装node.js
install and epel install
yum -y install epel-release
yum -y update # curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
# sudo yum -y install nodejs
# sudo yum install gcc-c++ make sudo yum install nodejs npm --enablerepo=epel
启动单机节点:
首先需要安装mongodb
How To Install MongoDB on CentOS 7
How to Install MongoDB on CentOS 7
echo "[mongodb]
name=MongoDB Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
gpgcheck=
enabled=" >> /etc/yum.repos.d/mongodb.repo
yum -y install epel-release
yum -y update
# sudo yum -y install mongodb
yum -y install mongodb-org mongodb-org-server
rpm -qa |grep mongodb
rpm -ql mongodb-org-server
# rpm -ql mongodb
systemctl start mongod
systemctl status mongod
mongostat
mongostat --rowcount netstat -nltp|grep mongod
Install rabbitmq
How to Install RabbitMQ Server on CentOS 7, rabbitmq org
install Erlang and RabbitMQ prefe from package cloud
curl -s https://packagecloud.io/install/repositories/rabbitmq/erlang/script.rpm.sh | sudo bash
yum -y install erlang socat
erl -version # install firewall
sudo yum install firewalld
sudo systemctl start firewalld
sudo systemctl enable firewalld
sudo systemctl status firewalld firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=-/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=-/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --reload
setsebool -P nis_enabled # rpm --import https://www.rabbitmq.com/rabbitmq-release-signing-key.asc
# rpm --import https://www.rabbitmq.com/rabbitmq-release-signing-key.asc
# wget https://dl.bintray.com/rabbitmq/all/rabbitmq-server/3.7.4/rabbitmq-server-3.7.4-1.el7.noarch.rpm
# rpm -Uvh rabbitmq-server-3.7.-.el7.noarch.rpm curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | sudo bash
yum -y install rabbitmq-server
echo "NODENAME=rabbit@localhost" >> /etc/rabbitmq/rabbitmq-env.conf
echo "127.0.0.1 $HOSTNAME" >> /etc/hosts
systemctl start rabbitmq-server
systemctl enable rabbitmq-server
systemctl status rabbitmq-server
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --zone=public --permanent --add-port=/tcp
firewall-cmd --reload
install
bin/init-all.sh [--deps]
start
bin/start-all.sh
stop
bin/stop-all.sh
client:
REF:
7 Benefits of Video Conferencing
DXVA是DirectX Video Acceleration
intel webrtc 部署的更多相关文章
- Intel_CS_WebRTC 验证性测试
机器: Centos 7.2 一.配置阿里云源 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/Cen ...
- Ubuntu中安装部署Intel CS WebRTC
1环境要求 组件 版本要求 OS CentOS* 7.4, Ubuntu 14.04/16.04 LTS Node 8.11.* (推荐8.11.1) MongoDB 2.4.9 Boost 1.65 ...
- [转]webrtc学习: 部署stun和turn服务器
[转]webrtc学习: 部署stun和turn服务器 http://www.cnblogs.com/lingdhox/p/4209659.html webrtc的P2P穿透部分是由libjingle ...
- 为WebRTC 应用部署Turn Server
部署WebRTC 或 SIP p2p 方案时经常会遇到p2p 无法穿透的环境, 这时就是TunServer 的用武之地了. 这里我们使用turnserver-0.7.3 下载confuse依赖库 wg ...
- WebRTC学习之 Intel® Collaboration Suite for WebRTC源码流程解读
年后回来,因为新项目的需求,开始了解WebRTC相关的知识.目前接触的是Intel® Collaboration Suite for WebRTC.刚开始看SDK发现很多概念是我目前不知道的,于是恶补 ...
- webrtc学习: 部署stun和turn服务器
webrtc的P2P穿透部分是由libjingle实现的. 步骤顺序大概是这样的: 1. 尝试直连. 2. 通过stun服务器进行穿透 3. 无法穿透则通过turn服务器中转. stun 服务器比较简 ...
- webrtc笔记(4): kurento 部署
kurento是一个开源的webrtc mcu服务器,按官方的文档,建议在ubtntu上安装,过程如下: 注:建议先切换到root身份,如果不是root身份登录的,下列命令,请自行加上sudo . 另 ...
- 在Ubuntu上部署一个基于webrtc的多人视频聊天服务
最近研究webrtc视频直播技术,网上找了些教程最终都不太能顺利跑起来的,可能是文章写的比较老,使用的一些开源组件已经更新了,有些配置已经不太一样了,所以按照以前的步骤会有问题.折腾了一阵终于跑起来了 ...
- Android IOS WebRTC 音视频开发总结(十一)-- stun&turn部署
本篇文章主要介绍webrtc里面的stun,turn服务的安装与配置(转载请说明出处: http://www.cnblogs.com/lingyunhu, RTC.Blacker) 说到STUN,TU ...
随机推荐
- Redis:C#使用Redis(1)
一.安装 1.下载安装包: 官方网站:redis.io 官方推荐windows版本:https://github.com/MSOpenTech/redis 2:下载压缩包,解压后如下 redis-se ...
- ubuntu16.4菜单栏不见,终端不见解决方法
1.ctrl+alt+f1进入命令行 2. sudo apt-get install gnome-terminal 3.sudo apt-get install unity 4.setsid unit ...
- Flex中如何利用FocusManager类的setFocus函数设置TextInput的焦点的例子
参考:https://blog.csdn.net/liruizhuang/article/details/5876455 <?xml version="1.0" encodi ...
- 原生js---ajax---post方法传数据
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> ...
- RabbitMQ的使用场景
RabbitMQ的使用场景 1 大数据日志收集消息中间件应用场景 2 消息中间件在搜索系统DIH(伪实时)中的应用 伪实时的搜索系统: 后台系统:(作为生产者发送消息) ...
- html5-增强的表单-表单的重写
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8&qu ...
- Spark学习之路 (三)Spark之RDD
一.RDD的概述 1.1 什么是RDD? RDD(Resilient Distributed Dataset)叫做弹性分布式数据集,是Spark中最基本的数据抽象,它代表一个不可变.可分区.里面的元素 ...
- CS229 - MachineLearning - 12 强化学习笔记
Ng的机器学习课,课程资源:cs229-课件 网易公开课-视频 问题数学模型: 马尔科夫过程五元组{S.a.Psa.γ.R},分别对应 {状态.行为.状态s下做出a行为的概率.常数.回报}. 一 ...
- 20165305 苏振龙 《Java 程序设计》第一次测试总结
第一个代码运行结果截图 功能:从1到5305进行求和 第二个代码运行结果截图 代码托管 第三个代码运行结果截图 (1)源文件的名字为Person.java (2)生成2个字节码文件,名字为Person ...
- linux 系统监控和进程管理
1.命令top,查看cpu和内存使用,主要进程列表和占用资源. 2.内存使用命令foree -g 3.查询所有java进程:pgrep -l java ------ps aux|grep .j ...