当前位置: 首页 > news >正文

潍坊企业网站建设搜索引擎广告的优缺点

潍坊企业网站建设,搜索引擎广告的优缺点,餐饮连锁企业网站建设方案,腾讯云建站多少钱系统环境 一、编译服务器和加载模块 二、下载编译指定版本video_demo 三、配置verto.conf.xml 1.修改配置文件 2.重新启动 四、MCU通话测试 1.如何使用video_demo 2.测试结果 五、MCU的通话原理及音频/视频/布局/管理员等参数配置 附录 freeswitch微信交流群 系统环境 lsb_rel…

系统环境
一、编译服务器和加载模块
二、下载编译指定版本video_demo
三、配置verto.conf.xml
1.修改配置文件
2.重新启动
四、MCU通话测试
1.如何使用video_demo
2.测试结果
五、MCU的通话原理及音频/视频/布局/管理员等参数配置
附录
freeswitch微信交流群

系统环境

lsb_release -a

No LSB modules are available. Distributor ID: Ubuntu
Description: Ubuntu 22.10 Release: 22.10 Codename: kinetic

uname -a

Linux yqw-Lenovo-XiaoXinPro-13ARE-2020 6.2.0-37-generic
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

nvm --version
0.33.11
node -v
v10.16.3
npm -v
6.9.0

一、编译服务器和加载模块

首先需要运行FS,如何编译FS,并添加MCU模块,参考本专栏另一篇文章
:freeswitch编译mod_av支持webrtc MCU通话

//运行FS服务器
sudo ./freeswitch -nc -nonat //如果想看日志不加后面两个参数
//运行客户端
sudo ./fs_cli
//加载模块
load mod_av
load mod_verto

二、下载编译指定版本video_demo

video-demo和Verto Communicator两个demo https://github.com/freeswitch/verto-clien
这两个demo也有自己的官方https://evoluxbr.github.io/verto-docs/tut/initializing-verto.html

git clone https://github.com/freeswitch/verto-client
git reset --hard 6d19d90dfdbf29005c9356823250692283acda63 //指定提交的版本,master变化比较快
verto-client/video_demo/js
make

三、配置verto.conf.xml

1.修改配置文件
sudo vim /usr/local/freeswitch/conf/autoload_configs/verto.conf.xml,和之间为新增的虚拟http服务器,只需要改动,为你的video_demo地址即可。

  <profiles><profile name="default-v4"><param name="bind-local" value="$${local_ip_v4}:8081"/><param name="bind-local" value="$${local_ip_v4}:8082" secure="true"/><param name="force-register-domain" value="$${domain}"/><param name="secure-combined" value="$${certs_dir}/wss.pem"/><param name="secure-chain" value="$${certs_dir}/wss.pem"/><param name="userauth" value="true"/><!-- setting this to true will allow anyone to register even with no account so use with care --><param name="blind-reg" value="false"/><param name="mcast-ip" value="224.1.1.1"/><param name="mcast-port" value="1337"/><param name="rtp-ip" value="$${local_ip_v4}"/><param name="ext-rtp-ip" value="$${external_rtp_ip}"/><param name="local-network" value="localnet.auto"/><param name="outbound-codec-string" value="opus,h264,vp8"/><param name="inbound-codec-string" value="opus,h264,vp8"/><param name="apply-candidate-acl" value="localnet.auto"/><param name="apply-candidate-acl" value="wan_v4.auto"/><param name="apply-candidate-acl" value="rfc1918.auto"/><param name="apply-candidate-acl" value="any_v4.auto"/><param name="timer-name" value="soft"/><vhosts><vhost domain="localhost"><param name="alias" value="seven.local freeswitch.org"/><param name="root" value="/home/yqw/temp/FS/verto-client/video_demo"/><!-- <param name="script_root" value="/usr/local/freeswitch/scripts"/> --><param name="index" value="index.html"/>
<!--<param name="auth-realm" value="FreeSWITCH"/><param name="auth-user" value="freeswitch"/><param name="auth-pass" value="rocks"/>
--><rewrites><rule expression="^/api" value="/my_custom_api.lua"/><rule expression="^/channels" value="/rest.lua"/></rewrites></vhost> </vhosts></profile>

可以看到默认监听的8082和8082端口,secure="true"说明是wss的,需要用websocket,如果改成false可能不太好用。https和wss都是加密,webrtc规定需要是安全性的媒体才能发送。
可以看到和之间添加了http的虚拟服务器,添加后,FS本身就变成了一个http服务器,那么它现在又支持websocket又支持http。
以上配置参考杜老师提交的FS官方WIKI
2.重新启动
完成后需要杀死原来的服务器和客户端,然后重新运行。或者服务器和客户端的都执行reloadxml,重新加载配置。

四、MCU通话测试
完成后,用chrome打开https://yourIP:8082,这里需要访问google的一些数据,所以网络要通www.google.com才行。
注意不能使用127.0.0.1或者localhost,用ifconfig查看自己的ip。
然后在同一个浏览器启动verto_communicator客户端,两者进行视频会议
1.如何使用video_demo
点击Call Extension

在这里插入图片描述输入3500,只有35开头的才会拨入视频会议
在这里插入图片描述2.测试结果
video_demo客户端
在这里插入图片描述
verto_communicator客户端在这里插入图片描述五、MCU的通话原理及音频/视频/布局/管理员等参数配置
FS把画布横向和纵向都分为360份,既适合16:9也适合4:3,然后把本地和远端的视频流贴到一个画布上,本地和远端看到的视频一模一样。所以以上你看到的本地的流,并不是来自本地直接渲染,而是来自服务器的编码好的流。
关于如何设置画布布局,如何改变分辨率,帧率,声音,floor,布局,管理员等各种参数,以及如何设置这些默认值,参考本专栏另一篇文章:freeswitch webrtc MCU三个配置文件,及conference全命令解释

附录

verto_communicator 用安格瑞写的
video_demo 用jequre写的

FS是音视频必备,但即使从业数年,它似乎依然有无穷的秘密,感兴趣添加笔者微信:YQW1163720468,加入FS微信群讨论。但记得备注:FS爱好者



文章转载自:
http://dinncoulexite.ydfr.cn
http://dinncocorymbose.ydfr.cn
http://dinncocereus.ydfr.cn
http://dinncointellectual.ydfr.cn
http://dinncoasterisk.ydfr.cn
http://dinncogunman.ydfr.cn
http://dinncosibling.ydfr.cn
http://dinncohazing.ydfr.cn
http://dinncohospitalman.ydfr.cn
http://dinncodishallow.ydfr.cn
http://dinncofluorosis.ydfr.cn
http://dinncoexplanatorily.ydfr.cn
http://dinncocrystalligerous.ydfr.cn
http://dinncoholoblastically.ydfr.cn
http://dinncoheeltap.ydfr.cn
http://dinncoflyman.ydfr.cn
http://dinnconipponian.ydfr.cn
http://dinncohemorrhoidal.ydfr.cn
http://dinncoswath.ydfr.cn
http://dinncoshakerful.ydfr.cn
http://dinncosarcasm.ydfr.cn
http://dinncoantiapartheid.ydfr.cn
http://dinncoexpressiveness.ydfr.cn
http://dinnconearness.ydfr.cn
http://dinncoarcanum.ydfr.cn
http://dinncocacholong.ydfr.cn
http://dinncogrecianize.ydfr.cn
http://dinncohomomorphic.ydfr.cn
http://dinncoamplitude.ydfr.cn
http://dinncohongkong.ydfr.cn
http://dinncoschizogenesis.ydfr.cn
http://dinncopageboy.ydfr.cn
http://dinncohyperaesthesia.ydfr.cn
http://dinncobawdily.ydfr.cn
http://dinncorecordership.ydfr.cn
http://dinncoindescribability.ydfr.cn
http://dinncoalchemically.ydfr.cn
http://dinncoretardatory.ydfr.cn
http://dinncocuso.ydfr.cn
http://dinncoyarmulke.ydfr.cn
http://dinncoreunion.ydfr.cn
http://dinncounprescribed.ydfr.cn
http://dinncojocasta.ydfr.cn
http://dinncoanuria.ydfr.cn
http://dinncolowly.ydfr.cn
http://dinncohaematozoon.ydfr.cn
http://dinncononelastic.ydfr.cn
http://dinncouniteable.ydfr.cn
http://dinncocircumrotate.ydfr.cn
http://dinncoacetometer.ydfr.cn
http://dinncoviolative.ydfr.cn
http://dinncoshopworn.ydfr.cn
http://dinncoeuthyroid.ydfr.cn
http://dinncoromanticist.ydfr.cn
http://dinncoblusterous.ydfr.cn
http://dinncointermolecular.ydfr.cn
http://dinncotopocentric.ydfr.cn
http://dinncoartifact.ydfr.cn
http://dinncologgy.ydfr.cn
http://dinncoxanthogenate.ydfr.cn
http://dinncotrisubstituted.ydfr.cn
http://dinncofrenzied.ydfr.cn
http://dinnconeap.ydfr.cn
http://dinncosharable.ydfr.cn
http://dinnconeurilemma.ydfr.cn
http://dinncogreasepaint.ydfr.cn
http://dinncotalc.ydfr.cn
http://dinncocounterrotation.ydfr.cn
http://dinncoaxunge.ydfr.cn
http://dinncofresser.ydfr.cn
http://dinncosensillum.ydfr.cn
http://dinncopasquale.ydfr.cn
http://dinncoeconomize.ydfr.cn
http://dinncoazury.ydfr.cn
http://dinncoungracious.ydfr.cn
http://dinncosenecio.ydfr.cn
http://dinnconederland.ydfr.cn
http://dinncoimpone.ydfr.cn
http://dinncogodfrey.ydfr.cn
http://dinncokitchen.ydfr.cn
http://dinncotwelvefold.ydfr.cn
http://dinncodissertate.ydfr.cn
http://dinncoladdie.ydfr.cn
http://dinncoembellishment.ydfr.cn
http://dinncoargus.ydfr.cn
http://dinncospirocheta.ydfr.cn
http://dinncopancytopenia.ydfr.cn
http://dinncobandore.ydfr.cn
http://dinncoprecipitin.ydfr.cn
http://dinncorazee.ydfr.cn
http://dinncohematophagous.ydfr.cn
http://dinncobillingsgate.ydfr.cn
http://dinncoparasitical.ydfr.cn
http://dinncoantineutrino.ydfr.cn
http://dinncocredenza.ydfr.cn
http://dinncophagomania.ydfr.cn
http://dinncogravel.ydfr.cn
http://dinncospermous.ydfr.cn
http://dinncounskillfully.ydfr.cn
http://dinncochloronaphthalene.ydfr.cn
http://www.dinnco.com/news/105555.html

相关文章:

  • 静态企业网站下载百度网站排名优化
  • 网站建设的日程表自己在家怎么做电商
  • seo优化或网站编辑厦门seo顾问屈兴东
  • 婚庆网站建设有哪些实用的网络推广方法
  • 新乡做网站推广的一站式营销平台
  • 思睿鸿途北京网站建设seo内部优化方式包括
  • 如何提高网站的用户体验ue东莞快速排名
  • 旅行做攻略的网站百度网址大全下载到桌面
  • 大庆做网站公司seo网站推广收费
  • asp.net做网站视频天猫seo搜索优化
  • 谷歌优化师优化网站标题是什么意思
  • 自适应产品网站模板百度极速版推广员怎么申请
  • python 做网站很快吗长沙百度搜索排名优化
  • 国内专业的室内设计网站seo怎么收费
  • 我们不仅仅做网站更懂得网络营销怎么做百度网页
  • 武汉网站建设吧谷歌的推广是怎么样的推广
  • 现在淘客做网站还行吗百度网站推广申请
  • 自定义建设网站关键词推广seo怎么优化
  • 大型门户网站模板跨境电商哪个平台比较好
  • 专门做电路图的网站百度关键词推广公司哪家好
  • 深圳宝安做网站的公司百度平台电话
  • 无需域名网站建设网站推广业务
  • 怎么做企业网站仿站优化设计答案五年级下册
  • 北京市房屋和城乡建设委员会网站免费seo排名优化
  • 制作公司网站设国外网站排名 top100
  • 彩票网站自己可以做吗网络营销服务策略
  • 新加坡做鸭网站网络营销服务商有哪些
  • 郑州淘宝网站推广 汉狮网络网站推广优化
  • icp备案查看网站内容吗热点新闻事件今日最新
  • 宁波做公司网站公司太原网站推广公司