SocketException with rtmpe. Help please ! (1 Viewer)

titof

Portal Pro
March 3, 2008
2,248
63
Home Country
France France
Re : Re: SocketException with rtmpe. Help please !

I have just commited two additional things:
upped the timeout on the first rtmp connect to 5 Sec
logged if the background task is killed by user or not (I still see the abort background task in your log and hive no idea why it happened if you didn't press any keys).

Can you try again and attach the logs?

Thanks a lot !! It works better !!

- Buffering always start for all videos (small and big)
- But sometimes it crash (Aborting background thread.) and it's not my fault :D !!
 

offbyone

Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Alright! Thx for sticking with me on this ;)
    Now I'll have to find out why that timer is started even when it shouldn't! It has to be something totally obvious what I'm overlooking ;)
     

    titof

    Portal Pro
    March 3, 2008
    2,248
    63
    Home Country
    France France
    Re : Re: SocketException with rtmpe. Help please !

    Alright! Thx for sticking with me on this ;)
    Now I'll have to find out why that timer is started even when it shouldn't! It has to be something totally obvious what I'm overlooking ;)

    ;) Thanks for your reactivity ! it's a real pleasure ! (And sorry for my very bad english :(:confused:).

    If I can help you for testing or debugging, do not hesitate ;).

    :D
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    I can't reproduce the aborting. Just tried with all tricks I could think of :(
    Any way you can debug that issue? I have no idea why the timer would elapse (it's 15 seconds by default - the config setting Webrequests, you can play with it, to see how it affects this)
     

    titof

    Portal Pro
    March 3, 2008
    2,248
    63
    Home Country
    France France
    Re : Re: SocketException with rtmpe. Help please !

    I can't reproduce the aborting. Just tried with all tricks I could think of :(
    Any way you can debug that issue? I have no idea why the timer would elapse (it's 15 seconds by default - the config setting Webrequests, you can play with it, to see how it affects this)

    Ok, which class contain this parameter ? I can not find the config setting ...
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    On the plugin's config first tab is a settings for timeouts - it's the one for Webrequests.
    It is set to: OnlineVideoSettings.Instance.UtilTimeout
     

    titof

    Portal Pro
    March 3, 2008
    2,248
    63
    Home Country
    France France
    Re : SocketException with rtmpe. Help please !

    I think I understood. The buffering time is limited by this parameter.
    In m'y case, the videos is very big and it take more than 15 secondes for 1%. With 40 seconds it's seems to be good.
    Tonight, I have again this problem : buffering not start.

    More tests tomorrow ;)
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    You understood correctly ;) But on the buffering that timeout should NOT be used! On all other webrequests it's enabled. It's implemented this way, because as you noticed buffering can take a long time. So it can be stopped by STOP or ESC.

    That's what I tested and it worked fine on my system: setting that value to 5 seconds and adding a Sleep in the bufferung of 30 seconds. No timeout elapsed, it just started buffering after 30 seconds and then play. So I could not reproduce the timeout on starting playback :(
     

    titof

    Portal Pro
    March 3, 2008
    2,248
    63
    Home Country
    France France
    Re : SocketException with rtmpe. Help please !

    Hello !

    Perhaps you can test with my dll ? I don't know if it's available in your country ...

    Code:
    <Site name="M6Replay" util="M6Replay" agecheck="false" enabled="true" lang="fr">
          <Categories />
        </Site>
     

    Attachments

    • OnlineVideos.Sites.titof.dll.zip
      7.3 KB

    titof

    Portal Pro
    March 3, 2008
    2,248
    63
    Home Country
    France France
    Re : SocketException with rtmpe. Help please !

    The problem of buffering stop occurs very rarely now (I don't know why ... it's very frustrating !!). But the problem where it does not start happening very often with this error: "failed to read RTMP packet header"

    I added some logs and the method ReadN return 0.

    If I insist on the same video, after several times, it works.

    Have you any idea on this?

    Thanks again ;)
     

    Users who are viewing this thread

    Top Bottom