我不知道如何配置 Nimble 服务器,缺乏有关以下内容的信息/示例:设置我自己的 Nimble 服务器。
场景:
我已经做到了:
在 Centos 7 上安装 Nimble 服务器。
从 /etc/nimble/nimble.conf 禁用面板部分。
遵循教程第 2 部分(示例)链接 - link。 (没用)。
安装所需工具。
Nimble 服务器工作
service nimble status
响应:active
没有错误。问题:
谢谢,任何帮助都会很好。
以下是在不使用 wmspanel 的情况下手动配置 Nimble Streamer 的步骤:-
1)首先,您需要 wmspanel 的基本订阅,因为您必须使用唯一的电子邮件地址创建免费帐户。 2)然后您必须打开https://wmpanel.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:ideos) 6) 现在将你的rules.config文件路由更改为“Routes”:[["","/vod/","file://D: ideo\",""]] 7) 现在 https://wmspanel.com/server 并删除之前添加的所有添加的死记硬背.. 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
最好的方法是通过 WMSPanel 配置 Nimble,然后将其从您的帐户中删除。生成的路由配置将是您所需要的。然后您可以通过 API 调用重新启动 Nimble。
当然,我建议订阅一些基本的 WMSPanel,以便能够方便地配置 Nimble、获得良好的统计数据并能够从开发团队获得帮助:https://wmspanel.com/nimble/tco 但这当然取决于您,因为 Nimble 无论如何都是免费软件。
新答案,因为自 2023 年 3 月以来情况发生了变化 - 版本 4.x 及更高版本 - 他们不允许在没有面板的情况下免费运行服务器。所以答案是你不能。除非你使用3.X版本