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

lodale

Portal Pro
April 9, 2009
245
27
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,447
    10,273
    France
    France France
    Country flag
    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
    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

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    • Thread starter
    • Moderator
    • #14
    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
    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

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    • Thread starter
    • Moderator
    • #16
    @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

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    • Thread starter
    • Moderator
    • #18
    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
    Italy Italy
    Country flag
    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 (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    C streaming out UDP instead of RTSP Newcomers Forum 0
    K MP2 - V2.1 [MP2-763] Interface configuration for RTSP streaming server lost on every restart Older releases 6
    E TVserver RTSP Input / Output interfaces 0
    AberDino 4k TV Stutter with RTSP General Support 7
    Stephen O'Kane [SOLVED] TV Stream stuttering - both Video and Audio Watch / Listen Media 14
    M.Hulot MP plays in Internal Blu-ray-Player-mode always first audio stream not the one I chosen in settings General Support 1
    S rotierende disk in streamed mp Skin Modifikationen 30
    C Streaming/transcoding MP2 vs MP1? General 4
    C Streaming to clients over Wifi. MP1 or MP2? Newcomers Forum 0
    P Streaming MediaPortal 1 Talk 5
    P Streaming to two clients from the same card Newcomers Forum 1
    L Non-PC device streaming... Newcomers Forum 1
    raffe How to add 500+ streams? OnlineVideos 1
    R Heavy pixelation on HD OTA Streams Installation, configuration support 1
    C Recording back to back shows from IPTV streams General Support 8
    T Missing sound in online streaming service (SVTPlay) General Support 3
    H Unable to play stream - again... Television (MyTV frontend and TV-Server) 2
    V Unable to stream : 10 General Support 0
    doskabouter Black screen while watching some iptv streams General Support 2
    II-IRON [solved] MP2 - 2.2 - Es ist kein Player für die Wiedergabe des Medien-Object 'stream 3.0' registriert Allgemeines Support- und Diskussionsforum 16
    amatesi MP2.2pre Client crash while streaming Live TV from remote MP2.2pre Server (both offline) 2.2 Archive 8
    Cowboy [solved] MP1.20 issue with HD audio stream (not all media) watch/edit Videos 6
    jmarc Recording IPTV streams General Support 1
    A Unable to play :stream 3 Television (MyTV frontend and TV-Server) 1
    C Is there a Tuner Stream Failure Alarm Plugin? MediaPortal 1 Plugins 1
    Similar threads

























    Top Bottom