這裏是靈活的流光的手動配置的步驟,而不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:\視頻) 6)現在改變你的rules.config文件路由到「路由」:[[「」,「/ vod /」,「file:// D:\ video \」,「」]] 7)現在https://wmspanel.com/server並刪除以前添加的所有添加的旋轉.. 8)刪除服務器too..and重新啓動服務.. 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