VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Hello good afternoon.

    I'm new to this subject, I ask for help with this problem:

    I need to put this video streaming in my android app, but over time the link expires. What would be the solution?

    Link of the video streaming of the camera: http://187.103.71.177:1935/live/11.118.stream/chunklist_w1993607183.m3u8

    Website: http://transito.gtrans.com.br/cttupe/index.php/portal
    Quote Quote  
  2. Mod Neophyte redwudz's Avatar
    Join Date
    Sep 2002
    Location
    USA
    Search Comp PM
    Sorry, not much help for streaming from me, but other members here may have some ideas.

    And welcome to our forums.
    Quote Quote  
  3. Member
    Join Date
    Mar 2019
    Location
    Germany
    Search PM
    This is easy actually

    Here is the url without chunklist: http://187.103.71.177:1935/live/11.102.stream/playlist.m3u8
    If you try to open this without a referer header you will get a 403 forbidden error. So you need to add the referer in order to download it or to put it in your app. Here is the referer url: http://transito.gtrans.com.br/cttupe/index.php/portal

    If you want to download the stream you can use e.g. youtube-dl. The command line would look like this:

    youtube-dl.exe http://187.103.71.177:1935/live/11.102.stream/playlist.m3u8 --referer http://transito.gtrans.com.br/cttupe/index.php/portal

    After entering this command in cmd you'll see that download is going to start.

    Or you can play it in VLC. Download streamlink and enter this command in cmd: streamlink --http-header Referer=http://transito.gtrans.com.br/cttupe/index.php/portal http://187.103.71.177:1935/live/11.102.stream/playlist.m3u8 best
    Last edited by hvq; 6th Mar 2019 at 13:14.
    Quote Quote  
  4. „I need to put this video streaming in my android app...“
    Quote Quote  
  5. Average video editor Sviests's Avatar
    Join Date
    Sep 2018
    Location
    USA,Sweden
    Search Comp PM
    For android app i believe you can create a .XML type manifest file with the stream info. (some websites even do that)
    As for the link expiring you might need to add some javascript to that to make connection alive. IDK how to pass a referer like that
    Last edited by Sviests; 6th Mar 2019 at 20:50.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!