SocketException with rtmpe. Help please !

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
    Hello !

    I build a siteUtilBase for add some french site to OnlineVideos, but I have a problème with rtmpe urls.

    Sometime it's works great (rarely), sometimes not.

    This is the code for building the url :

    Code (Text):
    1. string resultUrl = ReverseProxy.GetProxyUri(RTMP_LIB.RTMPRequestHandler.Instance,
    2.                                 string.Format("http://127.0.0.1/stream.flv?rtmpurl={0}",
    3.                                     System.Web.HttpUtility.UrlEncode("rtmpe://m6dev.fcod.llnwd.net:443/a3100/d1/" + video.VideoUrl)
    4.                                 ));
    5.             return resultUrl;
    OnlineVideos generate this url :

    Code (Text):
    1. http://127.0.0.1:30006/0/127.0.0.1/stream.flv?rtmpurl=rtmpe%3a%2f%2fm6dev.fcod.llnwd.net%3a443%2fa3100%2fd1%2fmp4%3aproduction%2fw9replay%2fw9_le-jt-agite_75470_161020101950.mp4
    and this is my log :

    Code (Text):
    1. 2010-10-20 00:05:12.959964 [Info.][MPMain(1)]: [OnlineVideos]Preparing graph for playback of http://127.0.0.1:30006/0/127.0.0.1/stream.flv?rtmpurl=rtmpe%3a%2f%2fm6dev.fcod.llnwd.net%3a443%2fa3100%2fd1%2fmp4%3aproduction%2fw9replay%2fw9_le-jt-agite_75470_161020101950.mp4
    2. 2010-10-20 00:05:12.960964 [Info.][MPMain(1)]: VMR9: added EVR Renderer to graph
    3. 2010-10-20 00:05:13.247981 [Debug][MPMain(1)]: VMR9: Now active
    4. 2010-10-20 00:05:13.247981 [Debug][MPMain(1)]: VMR9: Renderer successfully added
    5. 2010-10-20 00:05:13.248981 [Debug][MPMain(1)]: VMR9: Inactive
    6. 2010-10-20 00:05:13.248981 [Info.][MPMain(1)]: DirectShowUtils: First try to insert new audio renderer Default DirectSound Device
    7. 2010-10-20 00:05:13.248981 [Info.][MPMain(1)]: DirectShowUtils: Found audio renderer
    8. 2010-10-20 00:05:13.249981 [Debug][MPMain(1)]: DirectShowUtils: added filter:Default DirectSound Device to graph
    9. 2010-10-20 00:05:13.250981 [Info.][MPMain(1)]: Added filter: File Source (URL) to graph
    10. 2010-10-20 00:05:21.254439 [Debug][RTMPProxy(28)]: [OnlineVideos]Request
    11. 2010-10-20 00:05:21.308442 [Debug][RTMPProxy(28)]: [OnlineVideos]Client type: 6
    12. 2010-10-20 00:05:21.353444 [Debug][RTMPProxy(28)]: [OnlineVideos]truncated public key length to 128
    13. 2010-10-20 00:05:21.353444 [Debug][RTMPProxy(28)]: [OnlineVideos]DH pubkey position: 1299
    14. 2010-10-20 00:05:21.353444 [Debug][RTMPProxy(28)]: [OnlineVideos]Client digest offset: 502
    15. 2010-10-20 00:05:21.354444 [Debug][RTMPProxy(28)]: [OnlineVideos]Initial client digest:
    16. 2010-10-20 00:05:21.354444 [Debug][RTMPProxy(28)]: [OnlineVideos]04 F8 93 5B 46 36 CD 5E 5E 7F D9 3C 7F E6 F9 0C B8 A6 1C F9 AC 13 24 DE 11 61 E6 76 C5 84 D8 8B
    17. 2010-10-20 00:05:21.554456 [Debug][RTMPProxy(28)]: [OnlineVideos]Type Answer   : 8
    18. 2010-10-20 00:05:21.554456 [Debug][RTMPProxy(28)]: [OnlineVideos]Type mismatch: client sent 6, server answered 8
    19. 2010-10-20 00:05:21.555456 [Debug][RTMPProxy(28)]: [OnlineVideos]Server Uptime : 1630343653
    20. 2010-10-20 00:05:21.556456 [Debug][RTMPProxy(28)]: [OnlineVideos]FMS Version   : 3.5.4.1
    21. 2010-10-20 00:05:21.556456 [Debug][RTMPProxy(28)]: [OnlineVideos]Server DH public key offset: 540
    22. 2010-10-20 00:05:21.606459 [Debug][RTMPProxy(28)]: [OnlineVideos]DH SecretKey:
    23. 2010-10-20 00:05:21.606459 [Debug][RTMPProxy(28)]: [OnlineVideos]00 8E 56 A0 45 0E F0 1D CA CF BD E3 0C 7C 21 E2 EF 5F 3B A1 2D 1D 83 A8 B4 B2 A3 8E 8C 27 6E 12 76 5C 9A B0 AE 3F 5F 62 DE 2E C4 51 53 C5 B3 64 F9 A1 CE E9 85 40 21 AD 90 1D 5E AF 2E D7 6E C1 90 3B F7 26 15 1D 94 50 DB 13 6A CF 3A 5F B8 86 6F 67 6B E4 07 57 7B 9B 0B 79 90 40 2A E2 40 DA CB BD F6 21 38 84 1D 4F 46 37 10 AB F2 A7 17 F9 52 BC 4D FE 3D C2 C2 17 68 6A 1C 60 F4 FE 66 2B
    24. 2010-10-20 00:05:21.607459 [Debug][RTMPProxy(28)]: [OnlineVideos]RC4 Out Key:
    25. 2010-10-20 00:05:21.607459 [Debug][RTMPProxy(28)]: [OnlineVideos]6B 4A E2 5B 0F DD 34 F8 B9 C0 6D A0 54 2B A7 9A
    26. 2010-10-20 00:05:21.607459 [Debug][RTMPProxy(28)]: [OnlineVideos]RC4 In Key:
    27. 2010-10-20 00:05:21.607459 [Debug][RTMPProxy(28)]: [OnlineVideos]7E 5F 27 D4 6D FC 72 93 14 C5 DF D3 60 20 30 7E
    28. 2010-10-20 00:05:21.608459 [Debug][RTMPProxy(28)]: [OnlineVideos]Calculated digest key from secure key and server digest:
    29. 2010-10-20 00:05:21.608459 [Debug][RTMPProxy(28)]: [OnlineVideos]91 8B 66 F1 7D 9E 70 31 AE 05 1F 51 FC 83 A8 A2 04 D8 FD AD 68 AB 89 0A 60 9F 5D A9 1A D3 13 C2
    30. 2010-10-20 00:05:21.609459 [Debug][RTMPProxy(28)]: [OnlineVideos]Client signature calculated:
    31. 2010-10-20 00:05:21.609459 [Debug][RTMPProxy(28)]: [OnlineVideos]95 7E B3 BA C3 A9 F3 A5 D9 DC 3F 02 34 B6 9F 6A FC 8A 9D 56 F2 A9 3A 2E 32 D0 BB 08 B5 F0 55 47
    32. 2010-10-20 00:05:21.609459 [Debug][RTMPProxy(28)]: [OnlineVideos]Client signature digest position: 502
    33. 2010-10-20 00:05:21.609459 [Debug][RTMPProxy(28)]: [OnlineVideos]Digest key:
    34. 2010-10-20 00:05:21.610459 [Debug][RTMPProxy(28)]: [OnlineVideos]AD EE 12 B9 07 0E CB 4C A8 2D 68 E9 E7 6D E8 A0 2F 1E BD E3 7B 90 42 FE 67 23 FE CE D4 EE 28 3D
    35. 2010-10-20 00:05:21.610459 [Debug][RTMPProxy(28)]: [OnlineVideos]Signature calculated:
    36. 2010-10-20 00:05:21.610459 [Debug][RTMPProxy(28)]: [OnlineVideos]5E A6 45 F8 AB 58 C8 99 4A E0 2F 63 17 0D 4E 55 29 41 D7 AA 2C CC 5C 63 E8 63 12 83 21 88 86 C0
    37. 2010-10-20 00:05:21.610459 [Debug][RTMPProxy(28)]: [OnlineVideos]Server sent signature:
    38. 2010-10-20 00:05:21.611459 [Debug][RTMPProxy(28)]: [OnlineVideos]5E A6 45 F8 AB 58 C8 99 4A E0 2F 63 17 0D 4E 55 29 41 D7 AA 2C CC 5C 63 E8 63 12 83 21 88 86 C0
    39. 2010-10-20 00:05:21.611459 [Debug][RTMPProxy(28)]: [OnlineVideos]Genuine Adobe Flash Media Server
    40. 2010-10-20 00:05:21.611459 [Debug][RTMPProxy(28)]: [OnlineVideos]Handshaking finished....
    41. 2010-10-20 00:05:21.612459 [Debug][RTMPProxy(28)]: [OnlineVideos]Sending connect
    42. 2010-10-20 00:05:21.612459 [Debug][RTMPProxy(28)]: [OnlineVideos]app : a3100/d1
    43. 2010-10-20 00:05:21.612459 [Debug][RTMPProxy(28)]: [OnlineVideos]tcUrl : rtmpe://m6dev.fcod.llnwd.net:443/a3100/d1
    44. 2010-10-20 00:05:23.113545 [Debug][RTMPProxy(28)]: [OnlineVideos]System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
    45.    à System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
    46.    à System.Net.Sockets.Socket.Receive(Byte[] buffer)
    47.    à RTMP_LIB.RTMP.ReadN(Byte[] buffer, Int32 offset, Int32 size)
    48.    à RTMP_LIB.RTMP.ReadPacket(RTMPPacket& packet)
    49.    à RTMP_LIB.RTMP.ConnectStream()
    50.    à RTMP_LIB.RTMP.Connect(Link link)
    51.    à RTMP_LIB.RTMPRequestHandler.HandleRequest(String url, HTTPServerRequest request, HTTPServerResponse response)
    52. 2010-10-20 00:05:23.114545 [Debug][RTMPProxy(28)]: [OnlineVideos]Request finished.
    Can you help me please ? :(

    Thanks !


     
  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
    You might have to find the right parameters for the rtmp connection.

    These could include the swfhash, because rtmpe with client type 8 is encrypted using the hash of the swf playing the file as key. Some videos might play because they don't require encryption while others might need it.

    Finding these parameters is not easy and no automation is available. You can play the file in the browser and use a network sniffer to find out more. Or hope somewhere on the internet someone else got your videos working with rtmpdump, which needs the same parameters.
     
  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 !

    Ok, but with rtmpdump it's works very well all the time with this parameters :

    Code (Text):
    1. rtmpdump -r "rtmpe://m6dev.fcod.llnwd.net:443/a3100/d1/mp4:production/w9replay/w9_le-jt-agite_75470_161020101950.mp4" -o "essai.mp4"
    And, for the same video, with OnlineVideos, sometimes it's works, sometimes not.
     
  5. 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 !

    I have an other error sometimes. The buffering start and failed with this error :

    Code (Text):
    1. 2010-10-20 10:46:30.828028 [Info.][MPMain(1)]: [OnlineVideos]Preparing graph for playback of http://127.0.0.1:30006/0/127.0.0.1/stream.flv?rtmpurl=rtmpe%3a%2f%2fm6dev.fcod.llnwd.net%3a443%2fa3100%2fd1%2fmp4%3aproduction%2fregienum%2fm6_concert-prive-m6_75380_171020100135.mp4
    2. 2010-10-20 10:46:30.829029 [Info.][MPMain(1)]: VMR9: added EVR Renderer to graph
    3. 2010-10-20 10:46:30.879054 [Debug][MPMain(1)]: VMR9: Now active
    4. 2010-10-20 10:46:30.879054 [Debug][MPMain(1)]: VMR9: Renderer successfully added
    5. 2010-10-20 10:46:30.879054 [Debug][MPMain(1)]: VMR9: Inactive
    6. 2010-10-20 10:46:30.880054 [Info.][MPMain(1)]: DirectShowUtils: First try to insert new audio renderer Default DirectSound Device
    7. 2010-10-20 10:46:30.880054 [Info.][MPMain(1)]: DirectShowUtils: Found audio renderer
    8. 2010-10-20 10:46:30.880054 [Debug][MPMain(1)]: DirectShowUtils: added filter:Default DirectSound Device to graph
    9. 2010-10-20 10:46:30.881055 [Info.][MPMain(1)]: Added filter: File Source (URL) to graph
    10. 2010-10-20 10:46:31.127178 [Debug][RTMPProxy(21)]: [OnlineVideos]Request
    11. 2010-10-20 10:46:31.143186 [Debug][RTMPProxy(21)]: [OnlineVideos]Client type: 6
    12. 2010-10-20 10:46:31.168198 [Debug][RTMPProxy(21)]: [OnlineVideos]DH pubkey position: 1396
    13. 2010-10-20 10:46:31.168198 [Debug][RTMPProxy(21)]: [OnlineVideos]Client digest offset: 510
    14. 2010-10-20 10:46:31.168198 [Debug][RTMPProxy(21)]: [OnlineVideos]Initial client digest:
    15. 2010-10-20 10:46:31.168198 [Debug][RTMPProxy(21)]: [OnlineVideos]36 CE F8 DB C5 58 C8 D4 0A 52 D7 5E BF 4C 1A 26 72 BF 49 86 82 14 B2 DC C0 A3 1A 31 49 A4 10 FC
    16. 2010-10-20 10:46:31.268248 [Debug][RTMPProxy(21)]: [OnlineVideos]Type Answer   : 8
    17. 2010-10-20 10:46:31.268248 [Debug][RTMPProxy(21)]: [OnlineVideos]Type mismatch: client sent 6, server answered 8
    18. 2010-10-20 10:46:31.268248 [Debug][RTMPProxy(21)]: [OnlineVideos]Server Uptime : 1668812351
    19. 2010-10-20 10:46:31.268248 [Debug][RTMPProxy(21)]: [OnlineVideos]FMS Version   : 3.5.4.1
    20. 2010-10-20 10:46:31.268248 [Debug][RTMPProxy(21)]: [OnlineVideos]Server DH public key offset: 432
    21. 2010-10-20 10:46:31.294261 [Debug][RTMPProxy(21)]: [OnlineVideos]DH SecretKey:
    22. 2010-10-20 10:46:31.294261 [Debug][RTMPProxy(21)]: [OnlineVideos]4C B7 69 F7 0B 52 89 B2 95 95 62 3D 88 1D 56 1B BF E9 CC 08 57 A4 62 B3 F5 49 F9 EA 93 77 24 B5 28 9A 53 0D 4F 70 C7 50 4C 31 6B 0F C9 18 25 B5 C0 EE 61 0B 66 5F 31 3F EF BB CD 69 99 74 0D 6B 3F 8C 6E 5A 69 A4 9F 24 20 77 EF 9E 18 84 FE A3 8E 62 A6 BC B7 57 4F 91 99 FC 81 10 83 1F CC C8 A4 76 BC 22 D8 D5 53 EA 26 9B 5C F6 F6 B5 27 25 AF 07 BF ED FD F4 DA 04 71 F5 47 F9 48 7E B0 D9
    23. 2010-10-20 10:46:31.294261 [Debug][RTMPProxy(21)]: [OnlineVideos]RC4 Out Key:
    24. 2010-10-20 10:46:31.295262 [Debug][RTMPProxy(21)]: [OnlineVideos]01 33 E6 BA 90 DB A5 27 3B 8F D0 8D BC 57 F9 A3
    25. 2010-10-20 10:46:31.295262 [Debug][RTMPProxy(21)]: [OnlineVideos]RC4 In Key:
    26. 2010-10-20 10:46:31.295262 [Debug][RTMPProxy(21)]: [OnlineVideos]F9 5A E6 93 5E 19 DF 68 0A A3 46 CA D9 82 75 BF
    27. 2010-10-20 10:46:31.295262 [Debug][RTMPProxy(21)]: [OnlineVideos]Calculated digest key from secure key and server digest:
    28. 2010-10-20 10:46:31.295262 [Debug][RTMPProxy(21)]: [OnlineVideos]CD E7 D8 DF 17 70 D2 56 EF 60 30 C7 87 FE B2 D8 79 2D 59 FC 72 CC 82 8A A5 A0 4D 7D 1D 85 1E C1
    29. 2010-10-20 10:46:31.296262 [Debug][RTMPProxy(21)]: [OnlineVideos]Client signature calculated:
    30. 2010-10-20 10:46:31.296262 [Debug][RTMPProxy(21)]: [OnlineVideos]0A D1 33 32 3C 35 5A 8C 78 05 FD 95 0A 80 CA 94 F8 BF 6B C1 36 2A CE 67 79 1D EF 72 15 98 09 F2
    31. 2010-10-20 10:46:31.296262 [Debug][RTMPProxy(21)]: [OnlineVideos]Client signature digest position: 510
    32. 2010-10-20 10:46:31.296262 [Debug][RTMPProxy(21)]: [OnlineVideos]Digest key:
    33. 2010-10-20 10:46:31.296262 [Debug][RTMPProxy(21)]: [OnlineVideos]58 B9 9E A7 7D 28 10 4C 25 96 65 2C 2A 55 30 C6 DA D0 AF 70 7A 0A 37 8B 87 50 03 F3 F7 BE 8B FC
    34. 2010-10-20 10:46:31.296262 [Debug][RTMPProxy(21)]: [OnlineVideos]Signature calculated:
    35. 2010-10-20 10:46:31.297263 [Debug][RTMPProxy(21)]: [OnlineVideos]AB 41 2B D6 94 1F A9 22 56 81 BA 0A 26 E1 DC 35 F7 1B 8E AA FA 3B 8F 2E 1E BE 6F 7B 03 82 34 2B
    36. 2010-10-20 10:46:31.297263 [Debug][RTMPProxy(21)]: [OnlineVideos]Server sent signature:
    37. 2010-10-20 10:46:31.297263 [Debug][RTMPProxy(21)]: [OnlineVideos]AB 41 2B D6 94 1F A9 22 56 81 BA 0A 26 E1 DC 35 F7 1B 8E AA FA 3B 8F 2E 1E BE 6F 7B 03 82 34 2B
    38. 2010-10-20 10:46:31.297263 [Debug][RTMPProxy(21)]: [OnlineVideos]Genuine Adobe Flash Media Server
    39. 2010-10-20 10:46:31.346287 [Debug][RTMPProxy(21)]: [OnlineVideos]Handshaking finished....
    40. 2010-10-20 10:46:31.346287 [Debug][RTMPProxy(21)]: [OnlineVideos]Sending connect
    41. 2010-10-20 10:46:31.347288 [Debug][RTMPProxy(21)]: [OnlineVideos]app : a3100/d1
    42. 2010-10-20 10:46:31.347288 [Debug][RTMPProxy(21)]: [OnlineVideos]tcUrl : rtmpe://m6dev.fcod.llnwd.net:443/a3100/d1
    43. 2010-10-20 10:46:31.447338 [Debug][RTMPProxy(21)]: [OnlineVideos]HandleServerBW: server BW = 2500000
    44. 2010-10-20 10:46:31.447338 [Debug][RTMPProxy(21)]: [OnlineVideos]HandleClientBW: client BW = 2500000 2
    45. 2010-10-20 10:46:31.447338 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. STRING: _result
    46. 2010-10-20 10:46:31.447338 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 1
    47. 2010-10-20 10:46:31.447338 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: OBJECT ====>
    48. 2010-10-20 10:46:31.448338 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: fmsVer,  STRING: FMS/3,5,4,1006
    49. 2010-10-20 10:46:31.448338 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: capabilities,  NUMBER: 127
    50. 2010-10-20 10:46:31.448338 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: mode,  NUMBER: 1
    51. 2010-10-20 10:46:31.448338 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: OBJECT ====>
    52. 2010-10-20 10:46:31.448338 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: level,  STRING: status
    53. 2010-10-20 10:46:31.448338 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: code,  STRING: NetConnection.Connect.Success
    54. 2010-10-20 10:46:31.448338 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: description,  STRING: Connection succeeded.
    55. 2010-10-20 10:46:31.449339 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: objectEncoding,  NUMBER: 0
    56. 2010-10-20 10:46:31.449339 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: OBJECT ====>
    57. 2010-10-20 10:46:31.449339 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: version,  STRING: 3,5,4,1006
    58. 2010-10-20 10:46:31.449339 [Debug][RTMPProxy(21)]: [OnlineVideos]server invoking <_result>
    59. 2010-10-20 10:46:31.449339 [Debug][RTMPProxy(21)]: [OnlineVideos]received result for method call <connect>
    60. 2010-10-20 10:46:31.449339 [Debug][RTMPProxy(21)]: [OnlineVideos]Sending ping type: 3
    61. 2010-10-20 10:46:31.450339 [Debug][RTMPProxy(21)]: [OnlineVideos]Sending createStream
    62. 2010-10-20 10:46:31.450339 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. STRING: onBWDone
    63. 2010-10-20 10:46:31.450339 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 0
    64. 2010-10-20 10:46:31.450339 [Debug][RTMPProxy(21)]: [OnlineVideos]server invoking <onBWDone>
    65. 2010-10-20 10:46:31.450339 [Debug][RTMPProxy(21)]: [OnlineVideos]Sending _checkbw
    66. 2010-10-20 10:46:31.550389 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. STRING: _result
    67. 2010-10-20 10:46:31.550389 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 2
    68. 2010-10-20 10:46:31.550389 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: NULL
    69. 2010-10-20 10:46:31.550389 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 1
    70. 2010-10-20 10:46:31.550389 [Debug][RTMPProxy(21)]: [OnlineVideos]server invoking <_result>
    71. 2010-10-20 10:46:31.551390 [Debug][RTMPProxy(21)]: [OnlineVideos]received result for method call <createStream>
    72. 2010-10-20 10:46:31.551390 [Debug][RTMPProxy(21)]: [OnlineVideos]Sending play: 'mp4:production/regienum/m6_concert-prive-m6_75380_171020100135' from time: '0'
    73. 2010-10-20 10:46:31.551390 [Debug][RTMPProxy(21)]: [OnlineVideos]Sending ping type: 3
    74. 2010-10-20 10:46:31.553391 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. STRING: _onbwcheck
    75. 2010-10-20 10:46:31.553391 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 2148487840
    76. 2010-10-20 10:46:31.553391 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: NULL
    77. 2010-10-20 10:46:31.553391 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. STRING: Length: 16384
    78. 2010-10-20 10:46:31.553391 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 0
    79. 2010-10-20 10:46:31.553391 [Debug][RTMPProxy(21)]: [OnlineVideos]server invoking <_onbwcheck>
    80. 2010-10-20 10:46:31.756492 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. STRING: _onbwcheck
    81. 2010-10-20 10:46:31.756492 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 2148487843
    82. 2010-10-20 10:46:31.756492 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: NULL
    83. 2010-10-20 10:46:31.756492 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. STRING: Length: 32768
    84. 2010-10-20 10:46:31.756492 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 1
    85. 2010-10-20 10:46:31.757493 [Debug][RTMPProxy(21)]: [OnlineVideos]server invoking <_onbwcheck>
    86. 2010-10-20 10:46:31.757493 [Debug][RTMPProxy(21)]: [OnlineVideos]received: chunk size change to 4096
    87. 2010-10-20 10:46:31.757493 [Debug][RTMPProxy(21)]: [OnlineVideos]received: ping, type: 4
    88. 2010-10-20 10:46:31.757493 [Debug][RTMPProxy(21)]: [OnlineVideos]Stream IsRecorded 1
    89. 2010-10-20 10:46:31.757493 [Debug][RTMPProxy(21)]: [OnlineVideos]received: ping, type: 0
    90. 2010-10-20 10:46:31.758493 [Debug][RTMPProxy(21)]: [OnlineVideos]Stream Begin 1
    91. 2010-10-20 10:46:31.758493 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. STRING: onStatus
    92. 2010-10-20 10:46:31.758493 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 0
    93. 2010-10-20 10:46:31.758493 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: NULL
    94. 2010-10-20 10:46:31.758493 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: OBJECT ====>
    95. 2010-10-20 10:46:31.758493 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: level,  STRING: status
    96. 2010-10-20 10:46:31.759494 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: code,  STRING: NetStream.Play.Reset
    97. 2010-10-20 10:46:31.759494 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: description,  STRING: Playing and resetting production/regienum/m6_concert-prive-m6_75380_171020100135.
    98. 2010-10-20 10:46:31.759494 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: details,  STRING: production/regienum/m6_concert-prive-m6_75380_171020100135
    99. 2010-10-20 10:46:31.759494 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: clientid,  STRING: 7kcAYd1Y
    100. 2010-10-20 10:46:31.759494 [Debug][RTMPProxy(21)]: [OnlineVideos]server invoking <onStatus>
    101. 2010-10-20 10:46:31.759494 [Debug][RTMPProxy(21)]: [OnlineVideos]onStatus: code :NetStream.Play.Reset, level: status
    102. 2010-10-20 10:46:31.759494 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. STRING: onStatus
    103. 2010-10-20 10:46:31.760494 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 0
    104. 2010-10-20 10:46:31.760494 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: NULL
    105. 2010-10-20 10:46:31.760494 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: OBJECT ====>
    106. 2010-10-20 10:46:31.760494 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: level,  STRING: status
    107. 2010-10-20 10:46:31.760494 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: code,  STRING: NetStream.Play.Start
    108. 2010-10-20 10:46:31.760494 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: description,  STRING: Started playing production/regienum/m6_concert-prive-m6_75380_171020100135.
    109. 2010-10-20 10:46:31.761495 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: details,  STRING: production/regienum/m6_concert-prive-m6_75380_171020100135
    110. 2010-10-20 10:46:31.761495 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: Name: clientid,  STRING: 7kcAYd1Y
    111. 2010-10-20 10:46:31.761495 [Debug][RTMPProxy(21)]: [OnlineVideos]server invoking <onStatus>
    112. 2010-10-20 10:46:31.761495 [Debug][RTMPProxy(21)]: [OnlineVideos]onStatus: code :NetStream.Play.Start, level: status
    113. 2010-10-20 10:46:31.761495 [Debug][RTMPProxy(21)]: [OnlineVideos]ignoring too small audio packet: size: 0
    114. 2010-10-20 10:46:31.761495 [Debug][RTMPProxy(21)]: [OnlineVideos]Set duration: 3152,768
    115. 2010-10-20 10:46:31.869549 [Info.][OnlineVideos(16)]: [OnlineVideos]Start prebuffering ...
    116.  
    117. 2010-10-20 10:46:32.369799 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. STRING: _onbwcheck
    118. 2010-10-20 10:46:32.369799 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 2148487845
    119. 2010-10-20 10:46:32.369799 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: NULL
    120. 2010-10-20 10:46:32.369799 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. STRING: Length: 49152
    121. 2010-10-20 10:46:32.370799 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 2
    122. 2010-10-20 10:46:32.370799 [Debug][RTMPProxy(21)]: [OnlineVideos]server invoking <_onbwcheck>
    123.  
    124. 2010-10-20 10:46:32.875051 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. STRING: _onbwcheck
    125. 2010-10-20 10:46:32.875051 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 2148487846
    126. 2010-10-20 10:46:32.875051 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: NULL
    127. 2010-10-20 10:46:32.875051 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. STRING: Length: 65536
    128. 2010-10-20 10:46:32.875051 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 3
    129. 2010-10-20 10:46:32.876052 [Debug][RTMPProxy(21)]: [OnlineVideos]server invoking <_onbwcheck>
    130.  
    131. 2010-10-20 10:46:34.689958 [Debug][RTMPProxy(21)]: [OnlineVideos]Send bytes report. (1252486 bytes)
    132.  
    133. 2010-10-20 10:46:34.792009 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. STRING: _onbwcheck
    134. 2010-10-20 10:46:34.792009 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 2148487851
    135. 2010-10-20 10:46:34.792009 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: NULL
    136. 2010-10-20 10:46:34.792009 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. STRING: Length: 81920
    137. 2010-10-20 10:46:34.793010 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 4
    138. 2010-10-20 10:46:34.793010 [Debug][RTMPProxy(21)]: [OnlineVideos]server invoking <_onbwcheck>
    139.  
    140. 2010-10-20 10:46:36.401814 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. STRING: _onbwdone
    141. 2010-10-20 10:46:36.401814 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 0
    142. 2010-10-20 10:46:36.402814 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: NULL
    143. 2010-10-20 10:46:36.402814 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 0
    144. 2010-10-20 10:46:36.402814 [Debug][RTMPProxy(21)]: [OnlineVideos]Property: no-name. NUMBER: 342
    145. 2010-10-20 10:46:36.402814 [Debug][RTMPProxy(21)]: [OnlineVideos]server invoking <_onbwdone>
    146.  
    147. 2010-10-20 10:46:37.614420 [Debug][RTMPProxy(21)]: [OnlineVideos]Send bytes report. (2505340 bytes)
    148.  
    149. 2010-10-20 10:46:40.538881 [Debug][RTMPProxy(21)]: [OnlineVideos]Send bytes report. (3759430 bytes)
    150.  
    151. 2010-10-20 10:46:44.361792 [Debug][RTMPProxy(21)]: [OnlineVideos]Send bytes report. (5013034 bytes)
    152.  
    153. 2010-10-20 10:46:45.822522 [Info.][(8)]: [OnlineVideos]Aborting background thread.
    154. 2010-10-20 10:46:45.822522 [Info.][OnlineVideos(16)]: [OnlineVideos]Buffering was aborted.
    155. 2010-10-20 10:46:45.822522 [Info.][OnlineVideos(16)]: [OnlineVideos]Prebuffering failed.
    156. 2010-10-20 10:46:45.824523 [Info.][MPMain(1)]: VideoPlayer9: Cleanup DShow graph
    157. 2010-10-20 10:46:45.824523 [Debug][MPMain(1)]: VMR9: Dispose
    158. 2010-10-20 10:46:45.826524 [Debug][MPMain(1)]: SubtitleRenderer: starting cleanup
    159. 2010-10-20 10:46:45.826524 [Debug][MPMain(1)]: SubtitleRenderer: cleanup done
    160. 2010-10-20 10:46:45.827524 [Debug][MPMain(1)]: Remove filter from graph: File Source (URL) 0
    161. 2010-10-20 10:46:45.827524 [Debug][MPMain(1)]: Remove filter from graph: Default DirectSound Device 0
    162. 2010-10-20 10:46:45.827524 [Debug][MPMain(1)]: Remove filter from graph: Enhanced Video Renderer 1
    163. 2010-10-20 10:46:45.828525 [Info.][MPMain(1)]: VideoPlayerVMR9: Disabling DX9 exclusive mode
    164. 2010-10-20 10:46:45.831526 [Debug][MPMain(1)]: WindowManager: route OnlineVideos.MediaPortal1.GUIOnlineVideos:4755->MediaPortal.Dialogs.GUIDialogNotify:2016
    165. 2010-10-20 10:46:45.831526 [Debug][MPMain(1)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init
    166. 2010-10-20 10:46:46.077649 [Debug][RTMPProxy(21)]: [OnlineVideos]System.Net.Sockets.SocketException: Une connexion existante a dû être fermée par l'hôte distant
    167.    à System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
    168.    à System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 size, SocketFlags socketFlags)
    169.    à HybridDSP.Net.HTTP.HTTPServerSession.Write(Byte[] buffer, Int32 offset, Int32 count) dans E:\Dev\mp-onlinevideos2\Plugin\RTMP_LIB\HTTP\HTTPServerSession.cs:ligne 126
    170.    à HybridDSP.Net.HTTP.HTTPFixedLengthOutputStream.Write(Byte[] buffer, Int32 offset, Int32 count) dans E:\Dev\mp-onlinevideos2\Plugin\RTMP_LIB\HTTP\HTTPFixedLengthOutputStream.cs:ligne 106
    171.    à RTMP_LIB.FLVStream.WriteFLV(RTMP rtmp, DataReadyHandler DataReady, Socket socket) dans E:\Dev\mp-onlinevideos2\Plugin\RTMP_LIB\FLVStream.cs:ligne 76
    172.    à RTMP_LIB.RTMPRequestHandler.HandleRequest(String url, HTTPServerRequest request, HTTPServerResponse response) dans E:\Dev\mp-onlinevideos2\Plugin\RTMP_LIB\RTMPRequestHandler.cs:ligne 69
    173. 2010-10-20 10:46:46.078650 [Debug][RTMPProxy(21)]: [OnlineVideos]Request finished.
    For information, BildFilm use the same protocol and it crash with same error.
     
  6. 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
    Code (Text):
    1. [OnlineVideos]Buffering was aborted.
    -> You pressed STOP or ESC while buffering? This is a feature to forcibly stop buffering (usually for cases where it takes a LONG time, so you don't have to wait for it to finish before continuing with another clip).

    If rtmpdump works fine I have to check our RTMP implementation again :( Maybe the port 443 is throwing something off (default for rtmp is 1935). Can you attach a verbose log from a successfull run with rtmpdump for a file that fails in OnlineVideos?
     
  7. 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 !

    No. I just wait.

    Ok, so, I send you the log file.

    My test is, for the same video :

    - Run MP and try to launch the video for the first time --> firstTime_MediaPortal.log
    - Wait for error message in OnlineVideos (URL not found ...)
    - Just clic again on video : buffering start, and stop with same message in OnlineVideos --> SecondTime_MediaPortal.log

    The problem is different between first time and second time.

    With rtmpDump, it's works great, show rtmpdump.log. (I stop it on 10% because is very slow ...)

    Thanks for help.
     
  8. 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
    It looks like you get the 15 seconds timeout and the buffering is stopped. I might have an idea that the timer is not reset , therefore causing it to elapse on playback start (which should NOT timeout by default).

    Can you compile latest OnlineVideos SVN or do you want test-binaries, with the fix?
     
  9. 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, I can compile lastest SVN.

    I test it and I come back.
     
  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 !

    Looks like it works better. But for all videos of my site (small and big videos) :

    - Sometimes the buffering start, sometime not (it's aleatory).
    - When it start on a small video (5-10 minutes), in 95% cases it works.
    - When it start on a big video (1 heure 30 minutes and more) : in 100% cases it not work (Timeout when buffering is too long ?)
     
  11. 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 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?
     
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!