Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set up Nimble server without WMSpanel?

i can't figure it out, how to configure nimble server, there is lack of information/examples about: Setting my own Nimble server.

Scenario:

  • IP camera which streams live RTSP h.256 video.
  • Transmux/transport it, through my own Nimble Server.
  • And pass to end-user as mpeg-dash video.

I have done:

  • Installed Nimble server on Centos 7.

  • Disabled panel section from /etc/nimble/nimble.conf.

  • Followed tutorial section 2(example) link - link. (Did not work).

  • Installed required tools.

  • Nimble Server works service nimble status response: active no errors.

Questions:

  1. Is there any test example available or tutorial?
  2. How should look /etc/nimble/nimble.conf file without WMSpanel?
  3. How should look /etc/nimble/rules.conf file without WMSpanel? Or how does it work?
  4. Is there any open source project from github?

Thanks, any help would by good.

like image 913
Noproblem Avatar asked Jan 22 '16 09:01

Noproblem


People also ask

Is nimble streamer free?

Nimble Streamer is a freeware You don't need to pay in order to use most of Nimble Streamer features. No usage limitations, the server is fully functional from the moment of installation.

What is WMSPanel?

WMSPanel allows rich stats reporting of streaming content. Collect data from all registered servers. View multiple types of metrics and stats. Create data slices for splitting stats by servers and content. Use white label panel to share stats with your customers.


2 Answers

Here are the steps for manually configuration of nimble streamer without wmspanel :-

1) First of all you need basic subscription of wmspanel, for that you have to create free account using unique email address.. 2) Then you have to open https://wmspanel.com/server and click on add Existing server link.. 3) just copy and paste below configuration there :-

/* 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) Restart nimble streaming service 5) Put your videos in physical drive(e.g. D:\videos) 6) Now change your rules.config file routes to "Routes":[["","/vod/","file://D:\video\",""]] 7) Now https://wmspanel.com/server and remove all the added rotes added previously.. 8) Remove server too..and restart service.. 9) that's it...Test your stream video at(http://demo.jwplayer.com/stream-tester/)

10) video link should be http://127.0.0.1:8081/vod/sample.mp4/playlist.m3u8 or http://:/vod/sample.mp4/playlist.m3u8

like image 56
Nimesh khatri Avatar answered Sep 17 '22 16:09

Nimesh khatri


The best way is to configure Nimble through WMSPanel and then remove it from your account. The resulting routes config will be what you need. You may then restart Nimble with API call.

Of course, I recommend making some basic WMSPanel subscription to be able to configure Nimble conveniently, get nice stats and be able to get help from the development team too: https://wmspanel.com/nimble/tco But that's up to you, of course, as Nimble is a freeware anyway.

like image 32
Yury Avatar answered Sep 18 '22 16:09

Yury