[Help Us!] RTSP streaming library update (1 Viewer)

lodale

Portal Pro
April 9, 2009
245
27
Home Country
Norway Norway
Oops, I was sure that I had upgraded my client to 1.12 (I almost always upgrade the clients when new software comes along.
Doing an upgrade now, I'll post back my comments
 

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Yep :)
    Right now i can't reproduce with the Live555 TsReader, so that's good :)
    I can't reproduce it with merged branch too (DVB sub enable or not) so will do more testing but now i would say that it's works pretty good :)
     

    lodale

    Portal Pro
    April 9, 2009
    245
    27
    Home Country
    Norway Norway
    Oops, I was sure that I had upgraded my client to 1.12 (I almost always upgrade the clients when new software comes along.
    Doing an upgrade now, I'll post back my comments
    Just upgraded, working ;-) . Can see when I change TV channels the screen goes black (as before), then I get a glimt of the previous channel before I get the one I have tuned to. The chanel changing time seems to be the same as before (2-3 sec.) This isn't a problem for me at all. Just wanted to mention it.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Just upgraded, working ;-)
    Great :)

    Can see when I change TV channels the screen goes black (as before), then I get a glimt of the previous channel before I get the one I have tuned to.
    Yes, this was also reported in internal testing. As far as we could see, that behaviour was already existing before the update was applied.
    Can you confirm that you saw this before applying the update, or do you think it is new behaviour?

    The chanel changing time seems to be the same as before (2-3 sec.) This isn't a problem for me at all. Just wanted to mention it.
    The performance improvements are related to simplification/reduction of the RTSP requests sent to the server. Savings are probably 200 ms at most, depending on network speed/latency. This may be most obvious at start of live TV or recording playback, and during skipping/seeking.
     

    lodale

    Portal Pro
    April 9, 2009
    245
    27
    Home Country
    Norway Norway
    Just upgraded, working ;-)
    Great :)

    Can see when I change TV channels the screen goes black (as before), then I get a glimt of the previous channel before I get the one I have tuned to.
    Yes, this was also reported in internal testing. As far as we could see, that behaviour was already existing before the update was applied.
    Can you confirm that you saw this before applying the update, or do you think it is new behaviour?

    This may have happened sometimes before, but now it seems to be always.


    The chanel changing time seems to be the same as before (2-3 sec.) This isn't a problem for me at all. Just wanted to mention it.
    The performance improvements are related to simplification/reduction of the RTSP requests sent to the server. Savings are probably 200 ms at most, depending on network speed/latency. This may be most obvious at start of live TV or recording playback, and during skipping/seeking.

    This may have happened sometimes before, but now it seems to be always.
     
    Last edited by a moderator:

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    @Sebastiii
    From the "RecordedTV_not_working_on_resume.zip" TsReader log...
    I think the problem is here:
    [2015-10-25 09:08:23,056] [11297fe8] [4888] - CRTSPClient::play(): start = 1805.464966, duration = 6002.535156
    [2015-10-25 09:08:23,056] [11297fe8] [4888] - CRTSPClient::play()
    [2015-10-25 09:08:23,557] [11297fe8] [4888] - CRTSPClient::play(): RTSP PLAY timed out

    For some reason the RTSP PLAY command seems to have timed out. This means no response was received from the server within 500 ms. It looks like the server received the command but it took quite a long time to complete the seek:
    25-10-2015 09:08:23.79 StreamingServer:: Seek-> 1805.465000/6001.535156
    25-10-2015 09:08:23.80 seek to 1805.465000 filepos:5983e1d4 pid:30
    25-10-2015 09:08:24.564 stop seek: 1805.453717 at 5ff7a07d - target: 1805.465000, diff: 0.011283
    25-10-2015 09:08:24.564 ts seekStreamSource 1805.465000 / 6001.535156 ->1501815266

    In the working log file the seeking was much faster:
    25-10-2015 09:09:42.980 StreamingServer:: Seek-> 1805.465000/6001.535156
    25-10-2015 09:09:42.981 seek to 1805.465000 filepos:5983e1d4 pid:30
    25-10-2015 09:09:42.982 stop seek: 1805.453717 at 5ff7a07d - target: 1805.465000, diff: 0.011283
    25-10-2015 09:09:42.982 ts seekStreamSource 1805.465000 / 6001.535156 ->1501815266

    Maybe we have to think about increasing the 500 ms command timeout...
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    yep maybe it could be nice idea to increase the timeout :)
    For now I prefer to keep testing with the current time-out (500 ms). I would have expected the current value would be more than necessary (even excessive) for RTSP on a local network. Maybe the problem only happens when the HDD needs to spin up??? Anyway, please let me know if you notice problems again, and how often it happens. If it happens frequently then we will need to increase the value. Log files will be required to decide how much to increase it.
     

    sdf

    Portal Pro
    September 29, 2006
    292
    42
    Home Country
    Italy Italy
    Hi mm1352000!
    Thank you for improving analog FM support in MP!
    Tried your new files (only analog FM radio).
    My tv card is a Pinnacle 3010ix (Philips SAA7162) with software encoder (ATI) on Win10.
    First channel takes 11-12 secs.
    After first channel, channel switching takes 6-7 secs.
    Dvb-t and dvb-s radio take 2-3 secs.
    Have to say that now FM Radio is very precise, there are no glitches or imperfections in channel change.
    I think you weren't looking for speed.
    Tell me if you want logs.
    Thank you,
    sdf
     

    Users who are viewing this thread

    Top Bottom