RTSP Streaming Not Working

Discussion in 'General' started by rcauvin, February 20, 2018.

  1. rcauvin

    rcauvin Portal Member

    Joined:
    May 6, 2017
    Messages:
    11
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    United States of America United States of America
    I am unable to get RTSP streaming working.

    I have version 2.1.3 of MediaPortal 2, both server and client, installed on a single Windows 10 machine. I successfully launch the client, watch live TV, and record.

    Here is what I have tried for streaming:
    1. Open the client and watch live TV.
    2. On another machine in the same local area network, launch the latest version of VLC.
    3. Select "Media > Open Network Stream" in the VLC menu.
    4. Type "rtsp://192.168.2.204/stream2.0" as the network URL for the stream.
    5. Click "Play".
    The following error message pops up in VLC:

    Your input can't be opened:
    VLC is unable to open the MRL 'rtsp://192.168.2.204/stream2.0'. Check the log for details.

    When I go to "Tools > Messages" in VLC to look at the log (verbosity level 2), the seemingly relevant portion shows:

    core debug: creating access 'rtsp' location='192.168.2.204/stream2.0', path='\\192.168.2.204\stream2.0'
    core debug: looking for access module matching "rtsp": 21 candidates
    core debug: net: connecting to 192.168.2.204 port 554
    core debug: connection succeeded (socket = 2536)
    access_realrtsp warning: Cseq mismatch, got 1, assumed 0
    access_realrtsp debug: rtsp connected
    access_realrtsp warning: only real/helix rtsp servers supported for now
    core debug: no access modules matched
    core error: open of `rtsp://192.168.2.204/stream2.0' failed

    What is going on?


     
    Last edited: February 20, 2018
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. rcauvin

    rcauvin Portal Member

    Joined:
    May 6, 2017
    Messages:
    11
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    United States of America United States of America
    Let me ask it a different way. Has anyone gotten RTSP streaming to work with MP2? If so, how did you do it?
     
  4. limpwhizkid
    • Premium Supporter

    limpwhizkid Retired Team Member

    Joined:
    February 22, 2008
    Messages:
    575
    Likes Received:
    64
    Occupation:
    Payed hacker
    Location:
    on your IPC$
    Ratings:
    +76 / 3
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Edit: Whoops wrong forum , reply is about MP1 , i really dont know if there is a timeshift folder setting in MP2, if there is , then you could try!

    a late reply, sorry :)

    i finally found the problem, if you leave timeshift folder on the server at default C:\programdata\teamblabla , programdata is a system folder on windows which has more protection , rtsp streaming will fail , because that folder protection will prevent remote access sometimes
    so setting the server on c:\timeshift fixed it (i ticked also apply to all tuners, if you have multituner).

    can you confirm rcauvin ?
     
    Last edited: September 23, 2018
  5. rcauvin

    rcauvin Portal Member

    Joined:
    May 6, 2017
    Messages:
    11
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    United States of America United States of America
    Thanks, @limpwhizkid. In my installation of MP2, I see this folder configured for timeshift on all the cards:

    C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer

    Similar to what you recommended, I created a new folder:

    D:\Media\timeshift

    Now, when I connect to "rtsp://192.168.2.204/stream2.0", VLC's logs say it successfully connects to RTSP, but it appears to indicate it can't find anything to play. What do I have to do on the server side, if anything, to start something to stream to the client? How do I specify in the client (e.g. in the RTSP URL) the content I am trying to stream?

    main debug: processing request item: rtsp://192.168.2.204/stream2.0, node: Playlist, skip: 0
    main debug: rebuilding array of current - root Playlist
    main debug: rebuild done - 6 items, index 5
    main debug: starting playback of new item
    main debug: resyncing on rtsp://192.168.2.204/stream2.0
    main debug: rtsp://192.168.2.204/stream2.0 is at 5
    main debug: creating new input thread
    main debug: Creating an input for 'rtsp://192.168.2.204/stream2.0'
    main debug: requesting art for new input thread
    main debug: looking for meta fetcher module matching "any": 1 candidates
    lua debug: Trying Lua scripts in C:\Users\<masked>\AppData\Roaming\vlc\lua\meta\fetcher
    lua debug: Trying Lua scripts in C:\Utilities\VLC\lua\meta\fetcher
    main debug: no meta fetcher modules matched
    main debug: looking for art finder module matching "any": 2 candidates
    lua debug: Trying Lua scripts in C:\Users\<masked>\AppData\Roaming\vlc\lua\meta\art
    lua debug: Trying Lua scripts in C:\Utilities\VLC\lua\meta\art
    main debug: using timeshift granularity of 50 MiB
    main debug: using timeshift path: C:\Users\Roger\AppData\Local\Temp
    main debug: `rtsp://192.168.2.204/stream2.0' gives access `rtsp' demux `any' path `192.168.2.204/stream2.0'
    main debug: creating demux: access='rtsp' demux='any' location='192.168.2.204/stream2.0' file='\\192.168.2.204\stream2.0'
    main debug: looking for access_demux module matching "rtsp": 15 candidates
    live555 debug: version 2016.11.28
    lua debug: Trying Lua playlist script C:\Utilities\VLC\lua\meta\art\00_musicbrainz.luac
    lua debug: skipping script (unmatched scope) C:\Utilities\VLC\lua\meta\art\00_musicbrainz.luac
    lua debug: Trying Lua playlist script C:\Utilities\VLC\lua\meta\art\01_googleimage.luac
    lua debug: skipping script (unmatched scope) C:\Utilities\VLC\lua\meta\art\01_googleimage.luac
    lua debug: Trying Lua playlist script C:\Utilities\VLC\lua\meta\art\02_frenchtv.luac
    lua debug: skipping script (unmatched scope) C:\Utilities\VLC\lua\meta\art\02_frenchtv.luac
    lua debug: Trying Lua playlist script C:\Utilities\VLC\lua\meta\art\03_lastfm.luac
    lua debug: skipping script (unmatched scope) C:\Utilities\VLC\lua\meta\art\03_lastfm.luac
    main debug: no art finder modules matched
    qt debug: IM: Setting an input
    live555 debug: connection error 404
    live555 error: Failed to connect with rtsp://192.168.2.204:554/stream2.0
    main debug: no access_demux modules matched
    main debug: creating access: rtsp://192.168.2.204/stream2.0
    main debug: (path: \\192.168.2.204\stream2.0)
    main debug: looking for access module matching "rtsp": 26 candidates
    satip debug: try to open 'rtsp://192.168.2.204/stream2.0'
    satip debug: connect to host '192.168.2.204'
    main debug: net: connecting to 192.168.2.204 port 554
    main debug: connection succeeded (socket = 1652)
    main debug: net: opening 0.0.0.0 datagram port 9356
    main debug: net: opening 0.0.0.0 datagram port 9357
    satip error: Failed to setup RTSP session
    main debug: net: connecting to 192.168.2.204 port 554
    main debug: connection succeeded (socket = 1652)
    access_realrtsp warning: Cseq mismatch, got 1, assumed 0
    access_realrtsp debug: rtsp connected
    access_realrtsp warning: only real/helix rtsp servers supported for now
    main debug: no access modules matched
    main debug: dead input
    main debug: changing item without a request (current 5/6)
    main debug: nothing to play
    qt debug: IM: Deleting the input
     
  6. limpwhizkid
    • Premium Supporter

    limpwhizkid Retired Team Member

    Joined:
    February 22, 2008
    Messages:
    575
    Likes Received:
    64
    Occupation:
    Payed hacker
    Location:
    on your IPC$
    Ratings:
    +76 / 3
    Home Country:
    Netherlands Netherlands
    Show System Specs
    in Mp1 server there is a tab called manual control , on which you can select a channel and make it stream. when the stream has started , the url will be shown aswell , copy that to the client from where you wish to stream and you should see the channel
     
    • Thank You! Thank You! x 1
  7. rcauvin

    rcauvin Portal Member

    Joined:
    May 6, 2017
    Messages:
    11
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    United States of America United States of America
    I do see the Manual Control tab, and I clicked the Start TimeShift button. In the dialog box, I see channel information and a path to the timeshift files. But I don't see the MRL I am supposed to use in the RSTP client.
     
  8. rcauvin

    rcauvin Portal Member

    Joined:
    May 6, 2017
    Messages:
    11
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    United States of America United States of America
  9. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    Why do you want to use rtsp klient?
     
  10. limpwhizkid
    • Premium Supporter

    limpwhizkid Retired Team Member

    Joined:
    February 22, 2008
    Messages:
    575
    Likes Received:
    64
    Occupation:
    Payed hacker
    Location:
    on your IPC$
    Ratings:
    +76 / 3
    Home Country:
    Netherlands Netherlands
    Show System Specs
    no problem , i have tried mp2 once , but it was way back in the beginning, didnt do it for me , so stayed with mp1, (if it aint broke dont fix it)

    glad you got it working

    because its default out of the box ? , i have used Unc streaming in the past but you have to edit xml files to make that work and every update its gone.

    But the reason to go to VNC streaming is the problem with programdata systemfolder, i.e. unreliable behaviour, if you dont timeshift to hidden systemfolder "programdata" , RTSP works perfectly
     
  11. rcauvin

    rcauvin Portal Member

    Joined:
    May 6, 2017
    Messages:
    11
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    United States of America United States of America
    @regeszter I just want to be able to view live and recorded MP2 TV from my phone, tablet, and other devices. Using RTSP, I can now view live TV from any devices with VLC installed, which has RTSP client capabilities. What options do I have besides RTSP?
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!