No LiveTV on MP client (1 Viewer)

henk99

Portal Pro
October 7, 2008
167
3
Home Country
Netherlands Netherlands
You don't sound to optimistic about this getting solved on RC3 either. Even if VLC is working, i still have to upgrade to RC4?
If VLC works, then this means that the TV-Server is working correctly and that your firewall(s) are configured correctly as well.
With RC4, we would not need this step, because if there is a connection issue, MP would tell you. ;)

After that we can take a closer look at your MP client installation and why it does not work there.

Okay, I understand. I will try this part tonight and get back to you guys.
 

henk99

Portal Pro
October 7, 2008
167
3
Home Country
Netherlands Netherlands
Well, I have done a lot of testing again this evening. But still, nothing on the client is working.

Firstly, you said that when I start a recorded show on the client MP that's on the same pc as the tvserver, I would be able to find the stream name (RTPS://192.168.1.101/etc) in the mediaportal.log. This is where the first problem starts. My mediaportal log simply states the recording is started from the E drive on my tv server:

TSReaderPlayer:add TsReader to graph
2008-12-03 23:02:12.690000 [Info.][MPMain]: TSReaderPlayer: open file: D:\Timeshift buffer\live1-3.ts.tsbuffer
2008-12-03 23:02:12.703000 [Info.][MPMain]: TsReaderPlayer: OnVideoFormatChanged - streamtype=MPEG2 resolution=720x576 aspect ratio=16:9 bitrate=10000000 isInterlaced=False
2008-12-03 23:02:12.707000 [Info.][MPMain]: TSReaderPlayer:render TsReader outputs

or:
[Info.][MPMain]: TSReaderPlayer:add TsReader to graph
2008-12-03 23:01:37.807000 [Info.][MPMain]: TSReaderPlayer: open file: E:\TV Recordings\Men in trees - Net 5\Men in trees - - 2008-12-01 - 22_25.ts
2008-12-03 23:01:37.829000 [Info.][MPMain]: TsReaderPlayer: OnVideoFormatChanged - streamtype=MPEG2 resolution=720x576 aspect ratio=16:9 bitrate=10000000 isInterlaced=False
2008-12-03 23:01:37.839000 [Info.][MPMain]: TSReaderPlayer:render TsReader outputs

I can't find anything there about a RTSP stream. Later I found such an address in the streamserver.log. I tried this on the htpc client in VLC, but nothing happened. (at this point I can still reach the file through the share without problems).

So, all of this was a no-go. I decided to bite the bullet installed RC4 tvserver. It didn't go very well, but that's a different story. In the end I had all channels back again in a basic config and I tried the client on the tv server computer again. Still working there, but the logs show the same. No RTPS address of any kind....just a link on the E-drive on the tv server.

I then tried the same on the htpc client and again nothing was playing :mad:
There is some connection to the tvserver though, as it is displaying the tvguide, the recording in progress, etc. Just nothing is streamed anymore. Ever worse, MP locks up when i try to play a recording or watch live tv. I have to restart MP! Either SD or HD! So, by installing RC4, I have taken a step back :(

Still everything is working great in MP on the htpc client, except the tv part. The VLC testing again did nothing on this version.

I really hope you have some help for me, as I hoped the RC4 install would solve things for me. I have spent all evening to install it, and I didn't put any plugins or skins back yet, as I wanted to test first. So, i still have plenty to do. I will hold off on that to await your comments.

I have added the logs, so maybe you can see something in it. One thing that came to my mind is that the server is running on a vista 64bit OS. Can this be te problem? It doesn't appear to be a problem on the TV server itself. Everything is working ok there.
 

charli181

Retired Team Member
  • Premium Supporter
  • August 3, 2007
    800
    111
    Sydney
    Home Country
    Australia Australia
    First off, from the log files, I see that you have turned the RTSP mode off. This means that MP is trying to play live TV and recorded TV from the E:\Drive

    see end of this line
    TvRecorded Play:E:\TV Recordings\KRO Detectives_ Trial and retribution (KRO) - Nederland 1 - 2008-12-03.ts - using rtsp mode:False

    This is also happening for your Live TV where the timeshift buffer files are being accessed by the drive Letter D

    2008-12-03 23:02:12.690000 [Info.][MPMain]: TSReaderPlayer: open file: D:\Timeshift buffer\live1-3.ts.tsbuffer

    So if you think about it, you client machine will be looking for a drive called E:\TV Recordings\KRO ... .ts and if that does not exist, it wont work. Possible solutions maybe

    1. is to set the E drive on the CLient machine to a network share of E on the server
    2. instead of using E:\TV Recordings and d:\Timshift as your settings in TV Server as your locations, you use UNC paths. This will mean setting shares on your timeshift and recording folders, and then changing your settings to

    \\servername\sharename - an example would be \\EWALD-PC\TV Recordings.

    3.By default rtsp is turned on so it has been turnde off somehow. I think there is a setting in the MediaPortal.xml file about RTSP. This would be my suggestion as this is how it is designed and as I-Loop says, was turning it off was created for other troubleshooting reasons.

    Also, I don't think Vista 64 bit version is officially support, so it may be a problem....
     

    henk99

    Portal Pro
    October 7, 2008
    167
    3
    Home Country
    Netherlands Netherlands
    Hi Charli and Infinity loop, I think both of your comments fell off this thread. Is it possible to repost or something? I believe there is some very useful info for me in there ;)

    You talked about switching on the RTSP somewhere I think. Infinity wrote something about using VLC in some way to test RTSP.

    :sorry: I think it had to do with the new server.
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,154
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    You talked about switching on the RTSP somewhere I think. Infinity wrote something about using VLC in some way to test RTSP.
    1. go to your server pc
    2. start TV-Server configuration
    3. select manual control
    4. select any channel
    5. press "timeshift"
    6. go to the tv-server logfiles and open streamingserver.log
    7. take the rtsp url from there (please post the entire url in your reply!)
    8. go to your client PC
    9. start VLC -> media -> "open network" -> protocoll = RTSP
    10. enter the RTSP adress into the RTSP field
    11. click "play" button in vlc
    do you see the channel you tuned in TV-Server?
     

    charli181

    Retired Team Member
  • Premium Supporter
  • August 3, 2007
    800
    111
    Sydney
    Home Country
    Australia Australia
    the RTSP stuff can be found in the link you posted before
    https://forum.team-mediaportal.com/...-avoiding-rtsp-multiseat-mode-test-plz-36735/

    have a read through that - remember they are turning it off so, you will have to do the reverse to turn it back on. remember to Make backups before changing any files...

    As for UNC stuff, I would do a bit of searching within google to get a better understanding windows networking and sharing.
     

    smilenkovski

    Portal Member
    May 24, 2008
    37
    0
    Home Country
    I'm having same situation here, like henk99, and I tried your steps for checking rtsp with VLC and did not receive tv channel on client.
    It starts with RC4.
     

    henk99

    Portal Pro
    October 7, 2008
    167
    3
    Home Country
    Netherlands Netherlands
    It is solved!!!

    The problem was related to the firewall in the end. Partly, I feel very stupid as it was mentioned a couple of times as being the possible cause. On the other hand, it was part of the firewall i didn't know was there!

    When I looked at the firewalls on my two systems, there was always a big red text saying they were OFF. However, when rechecking yesterday, I went to the vista searchbox and typed firewall and noticed two search results. One normal firewall (the one I know) and and 'advanced firewall'. I went in there and saw that are more firewall parts that were still on (domain, private, etc.). I switched them all off and tested again.
    From this point on the streaming of SD and HD content went fine. Also, the streaming of recorded content is okay now. So, I'm very happy! :D

    I would like to thank you guys for all the help in trying to solve this. In the end I feel a littls stupid that it's such a trivial thing, but I simply had never seen it before and my firewall setting always was Off. I had never seen this 'hidden' advanced firewall. :sorry:
     

    charli181

    Retired Team Member
  • Premium Supporter
  • August 3, 2007
    800
    111
    Sydney
    Home Country
    Australia Australia
    Nor me since I don't have Vista. Is it at all possible to write something up so others can share.

    How did you access the advanced section, screen shots would be nice.......if you have time that is.....


    In the end, glad to hear all is working......well done for your persistance.
     

    Users who are viewing this thread

    Top Bottom