Welcome to My iptv forum

  • Everyone is invited! My iptv forum is for everyone, new and advanced user alike!
  • Searching is key! Before you post a question, use the forum search feature to determine whether your topic has already been covered.
  • Do not start flame wars! If someone has engaged in behavior that is detrimental to the discussion -- spamming, harassment, etc -- report the post and we'll take a look.
  • Info HLS With Nimble

    Info HLS With Nimble
    RazRav Offline

    RazRav

    Living life @ 25 FPS
    Staff member
    Moderator
    Moderator
    VIP Member
    Apr 13, 2020
    616
    6,217
    93
    India
    Intro
    Nimble Streamer is a fantastic lightweight media server with its own live
    Please, Log in or Register to view URLs content!
    and
    Please, Log in or Register to view URLs content!
    web control UI. We are going to show how to configure Nimble and stream HLS with Peer5. The MPEG-DASH is set up the same way.

    Prior to following this article, please install Nimble Streamer on any supported OS.

    Setup CORS
    Peer5 needs CORS to get the video segments from your server:

    1. Open your config file (Usually located at /etc/nimble/nimble.conf).
    2. Add the following lines at the bottom of the file:
      • access_control_allow_origin = *
      • access_control_expose_headers = Content-Length
    3. Save the file.
    4. Restart the nimble service using this command: sudo service nimble restart.
    Setup VOD HLS Stream
    1. Copy the mp4 video file you want to stream to a path that will be accessible by the nimble user on your server, Lets say /var/www/video/.
    2. On the navigation panel: Nimble streamer -> Edit nimble routes.

      image01.png



    3. Select ADD VOD STREAMING ROUTE on the top right.
    4. Fill the form and press OK.

      image00.png



    5. your route will be added to the table, select GET URL for player, copy the url and replace sample.mp4 with your video file name. You might also need to replace the IP address with your server’s external IP.
    6. you can now play the url in your HLS player.
    Setup Live (RTMP transmuxing to HLS)
    1. On the navigation panel: Nimble streamer -> Live streams settings.


      image03.png



    2. Under Global tab - Set chunk duration to 4 and Chunk count to 20. Then press Save.


      image06.png



    3. Select Live pull settings tab.


      image05.png



    4. Select Add RTMP URL.
    5. Fill your RTMP stream url, application name (i.e live) and name for your output stream. Then press Save.


      image07.png



    6. Go back to the top navigation bar and select Live streams.


      image04.png



    7. Choose your server from the list on the bottom.


      image08.png



    8. Click Outgoing stream (the pink part of the drawing), your stream should appear.
    9. Press the question mark on the right side of your stream’s line.
    10. This window will appear:


      image02.png



    11. You might need to replace the IP address with the external address of your server.
    12. Your HLS stream can now be played via this url.
     
    Relate Threads

    Create an account or login to comment

    You must be a member in order to leave a comment

    Create account

    Create an account on our community. It's easy!

    Log in

    Already have an account? Log in here.

    Top Posters of the Month

    Online statistics

    Members online
    70
    Guests online
    419
    Total visitors
    489
    18,334Threads
    64,162Messages
    62,984Members
    maniak77Latest member
    Top