我无法弄清楚,如何配置灵活的服务器,缺乏关于以下方面的信息/示例:设置我自己的Nimble服务器。
情境:
我做过:
在Centos 7上安装了Nimble服务器。
来自/etc/nimble/nimble.conf的禁用面板部分。
关注教程第2部分(示例)链接 - link。 (没用)。
已安装的必备工具。
Nimble Server工作service nimble status
响应:active
没有错误。
问题:
谢谢,任何帮助都会很好。
答案 0 :(得分:3)
以下是在没有wmspanel的情况下手动配置灵活流光的步骤: -
1)首先,您需要基本订阅wmspanel,因为您必须使用唯一的电子邮件地址创建免费帐户。 2)然后你必须打开https://wmspanel.com/server并点击添加现有服务器链接.. 3)只需复制并粘贴下面的配置: -
/* please do not modify this file, all changes will be overwritten by wmspanel agent */
{"SyncResponse": {"status":"success","StreamCheckerMode":false,"UniqueVisitors":true,"RoutesHash":"1470659102671","Routes":[],"IpRanges":[],"ServerAuthorizationProperties":{"ServerAuthPropertiesHash":"0"},"CamerasHash":"","Cameras":[],"StreamsHash":"","Streams":[],"RtmpSettings":{"hash":"1470658699568","interfaces":[],"login":"","password":"","duration":6,"chunk_count":4,"dash_template":"TIME","protocols":["HLS","DASH"],"apps":[],"abr":[]},"RtspSettings":{"hash":"","interfaces":[]},"LivePullSettings":{"hash":"","streams":[]},"RtmpPublishSettings":{"hash":"","settings":[]},"RtspPublishSettings":{"hash":"","settings":[]},"HlsDRMSettings": {"hash": "0", "url": "", "key": "", "KeyServerSettings": {}},"HttpOriginApps":{"hash":"0","apps":[]},"AkamaiSettings":{"hash":"0","settings":[]},"Aliases":{"hash":"0","settings":[]},"DataSlicesInfo":{"hash":"1","data_slices":[{"id":"19215","tz":0}]},"UDPSenderSettings":{"hash":"0","settings":[]},"PayPerPublishSettings":{"hash": "0","url": "","auth_group_interval": 500,"apps":[]},"DvrSettings":{"hash":"0","settings":[]},"UserAgentGroupSettings":{"hash":"0","settings":[]},"RefererGroupSettings":{"hash":"0","settings":[]},"VideoEncodersInfo":{"hash":"0","encoders":[]},"AudioEncodersInfo":{"hash":"0","encoders":[]},"ServerSettings":{"MaxCacheSize":128,"MaxFileCacheSize":4096,"LogMode":"info"}}}
4)重启灵活的流媒体服务 5)将您的视频放入物理驱动器(例如D:\ videos) 6)现在将rules.config文件路由更改为“路由”:[[“”,“/ vod /”,“file:// D:\ video \”,“”]] 7)现在https://wmspanel.com/server并删除之前添加的所有添加的rot .. 8)删除服务器..并重新启动服务.. 9)就是这样......在(http://demo.jwplayer.com/stream-tester/)
测试你的视频流10)视频链接应为http://127.0.0.1:8081/vod/sample.mp4/playlist.m3u8或http://:/ vod/sample.mp4/playlist.m3u8
答案 1 :(得分:2)
最好的方法是通过WMSPanel配置Nimble,然后将其从您的帐户中删除。生成的路由配置将是您所需要的。然后,您可以使用API调用重新启动Nimble。
当然,我建议制作一些基本的WMSPanel订阅,以便能够方便地配置Nimble,获得不错的统计数据,并且能够从开发团队那里获得帮助:https://wmspanel.com/nimble/tco 但是,这当然取决于你,因为Nimble无论如何都是免费软件。