以下是在没有 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 文件路由更改为 "Routes":[["","/vod/","file://D:\video\",""]]
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