SocketException with rtmpe. Help please ! | Page 2

Discussion in 'OnlineVideos' started by titof, October 20, 2010.

  1. titof

    titof Portal Pro

    Joined:
    March 3, 2008
    Messages:
    2,248
    Likes Received:
    63
    Ratings:
    +63 / 0
    Home Country:
    France France
    Re : Re: SocketException with rtmpe. Help please !

    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 !!
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. offbyone
    • Team MediaPortal

    offbyone Development Group

    Joined:
    April 26, 2008
    Messages:
    3,981
    Likes Received:
    2,704
    Gender:
    Male
    Location:
    Stuttgart
    Ratings:
    +3,303 / 3
    Home Country:
    Germany Germany
    Show System Specs
    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 ;)
     
  4. titof

    titof Portal Pro

    Joined:
    March 3, 2008
    Messages:
    2,248
    Likes Received:
    63
    Ratings:
    +63 / 0
    Home Country:
    France France
    Re : Re: SocketException with rtmpe. Help please !

    ;) 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
     
  5. offbyone
    • Team MediaPortal

    offbyone Development Group

    Joined:
    April 26, 2008
    Messages:
    3,981
    Likes Received:
    2,704
    Gender:
    Male
    Location:
    Stuttgart
    Ratings:
    +3,303 / 3
    Home Country:
    Germany Germany
    Show System Specs
    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)
     
  6. titof

    titof Portal Pro

    Joined:
    March 3, 2008
    Messages:
    2,248
    Likes Received:
    63
    Ratings:
    +63 / 0
    Home Country:
    France France
    Re : Re: SocketException with rtmpe. Help please !

    Ok, which class contain this parameter ? I can not find the config setting ...
     
  7. offbyone
    • Team MediaPortal

    offbyone Development Group

    Joined:
    April 26, 2008
    Messages:
    3,981
    Likes Received:
    2,704
    Gender:
    Male
    Location:
    Stuttgart
    Ratings:
    +3,303 / 3
    Home Country:
    Germany Germany
    Show System Specs
    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
     
  8. titof

    titof Portal Pro

    Joined:
    March 3, 2008
    Messages:
    2,248
    Likes Received:
    63
    Ratings:
    +63 / 0
    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 ;)
     
  9. offbyone
    • Team MediaPortal

    offbyone Development Group

    Joined:
    April 26, 2008
    Messages:
    3,981
    Likes Received:
    2,704
    Gender:
    Male
    Location:
    Stuttgart
    Ratings:
    +3,303 / 3
    Home Country:
    Germany Germany
    Show System Specs
    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 :(
     
  10. titof

    titof Portal Pro

    Joined:
    March 3, 2008
    Messages:
    2,248
    Likes Received:
    63
    Ratings:
    +63 / 0
    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 (Text):
    1.  
    2. <Site name="M6Replay" util="M6Replay" agecheck="false" enabled="true" lang="fr">
    3.       <Categories />
    4.     </Site>
    5.  
     

    Attached Files:

  11. titof

    titof Portal Pro

    Joined:
    March 3, 2008
    Messages:
    2,248
    Likes Received:
    63
    Ratings:
    +63 / 0
    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 ;)
     
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!