宝塔服务器面板,一键全能部署及管理,送你10850元礼包,点我领取

构建网络视频广播系统SRS服务器

以基于源的方式在Linux上安装srs服务器。

使用git克隆源代码。

git clone

下载完成后进入中继目录

cd srs.oschina/trunk

3 .执行编译安装

./configure make

编译成功如下:

4 .启动

./objs/srs -c conf/srs.conf

启动成功:

OBS配置:

要从视频中检索设备:

图:

点击小眼睛就闭上:

可以显示捕捉等。

有很多类似的一团糟的功能。

最重要的功能是设置网络视频广播系统的推送流。

通常是网络视频广播系统服务器的地址和项目名称

在这里也可以显示保存等。

由aliplayer使用。

使用部署:

html

AliplayerFunctions

varplayer=newAliplayer{

id:’player-con ‘,

source : ‘//player.Ali cdn.com/video/editor.MP4 ‘,

width:’100%,

高海拔: ‘ 500px ‘,

cover: ‘

/*Tosetanalbumart,youmustset ‘ autoplay ‘ and ‘ preload ‘ to ‘ false ‘ * /

Autoplay :假,

preload:false,

isLive:false

、功能player ) )。

控制台. log theplayeriscreated );

);

————————————————

声明:本文由雪豹科技转发

x.1000001000博客,如有侵权请联系作者删除