- March 3, 2008
- 2,248
- 63
- Home Country
- 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 :
OnlineVideos generate this url :
and this is my log :
Can you help me please ?
Thanks !
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:
string resultUrl = ReverseProxy.GetProxyUri(RTMP_LIB.RTMPRequestHandler.Instance,
string.Format("http://127.0.0.1/stream.flv?rtmpurl={0}",
System.Web.HttpUtility.UrlEncode("rtmpe://m6dev.fcod.llnwd.net:443/a3100/d1/" + video.VideoUrl)
));
return resultUrl;
OnlineVideos generate this url :
Code:
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:
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
2010-10-20 00:05:12.960964 [Info.][MPMain(1)]: VMR9: added EVR Renderer to graph
2010-10-20 00:05:13.247981 [Debug][MPMain(1)]: VMR9: Now active
2010-10-20 00:05:13.247981 [Debug][MPMain(1)]: VMR9: Renderer successfully added
2010-10-20 00:05:13.248981 [Debug][MPMain(1)]: VMR9: Inactive
2010-10-20 00:05:13.248981 [Info.][MPMain(1)]: DirectShowUtils: First try to insert new audio renderer Default DirectSound Device
2010-10-20 00:05:13.248981 [Info.][MPMain(1)]: DirectShowUtils: Found audio renderer
2010-10-20 00:05:13.249981 [Debug][MPMain(1)]: DirectShowUtils: added filter:Default DirectSound Device to graph
2010-10-20 00:05:13.250981 [Info.][MPMain(1)]: Added filter: File Source (URL) to graph
2010-10-20 00:05:21.254439 [Debug][RTMPProxy(28)]: [OnlineVideos]Request
2010-10-20 00:05:21.308442 [Debug][RTMPProxy(28)]: [OnlineVideos]Client type: 6
2010-10-20 00:05:21.353444 [Debug][RTMPProxy(28)]: [OnlineVideos]truncated public key length to 128
2010-10-20 00:05:21.353444 [Debug][RTMPProxy(28)]: [OnlineVideos]DH pubkey position: 1299
2010-10-20 00:05:21.353444 [Debug][RTMPProxy(28)]: [OnlineVideos]Client digest offset: 502
2010-10-20 00:05:21.354444 [Debug][RTMPProxy(28)]: [OnlineVideos]Initial client digest:
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
2010-10-20 00:05:21.554456 [Debug][RTMPProxy(28)]: [OnlineVideos]Type Answer : 8
2010-10-20 00:05:21.554456 [Debug][RTMPProxy(28)]: [OnlineVideos]Type mismatch: client sent 6, server answered 8
2010-10-20 00:05:21.555456 [Debug][RTMPProxy(28)]: [OnlineVideos]Server Uptime : 1630343653
2010-10-20 00:05:21.556456 [Debug][RTMPProxy(28)]: [OnlineVideos]FMS Version : 3.5.4.1
2010-10-20 00:05:21.556456 [Debug][RTMPProxy(28)]: [OnlineVideos]Server DH public key offset: 540
2010-10-20 00:05:21.606459 [Debug][RTMPProxy(28)]: [OnlineVideos]DH SecretKey:
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
2010-10-20 00:05:21.607459 [Debug][RTMPProxy(28)]: [OnlineVideos]RC4 Out Key:
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
2010-10-20 00:05:21.607459 [Debug][RTMPProxy(28)]: [OnlineVideos]RC4 In Key:
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
2010-10-20 00:05:21.608459 [Debug][RTMPProxy(28)]: [OnlineVideos]Calculated digest key from secure key and server digest:
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
2010-10-20 00:05:21.609459 [Debug][RTMPProxy(28)]: [OnlineVideos]Client signature calculated:
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
2010-10-20 00:05:21.609459 [Debug][RTMPProxy(28)]: [OnlineVideos]Client signature digest position: 502
2010-10-20 00:05:21.609459 [Debug][RTMPProxy(28)]: [OnlineVideos]Digest key:
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
2010-10-20 00:05:21.610459 [Debug][RTMPProxy(28)]: [OnlineVideos]Signature calculated:
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
2010-10-20 00:05:21.610459 [Debug][RTMPProxy(28)]: [OnlineVideos]Server sent signature:
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
2010-10-20 00:05:21.611459 [Debug][RTMPProxy(28)]: [OnlineVideos]Genuine Adobe Flash Media Server
2010-10-20 00:05:21.611459 [Debug][RTMPProxy(28)]: [OnlineVideos]Handshaking finished....
2010-10-20 00:05:21.612459 [Debug][RTMPProxy(28)]: [OnlineVideos]Sending connect
2010-10-20 00:05:21.612459 [Debug][RTMPProxy(28)]: [OnlineVideos]app : a3100/d1
2010-10-20 00:05:21.612459 [Debug][RTMPProxy(28)]: [OnlineVideos]tcUrl : rtmpe://m6dev.fcod.llnwd.net:443/a3100/d1
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
à System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
à System.Net.Sockets.Socket.Receive(Byte[] buffer)
à RTMP_LIB.RTMP.ReadN(Byte[] buffer, Int32 offset, Int32 size)
à RTMP_LIB.RTMP.ReadPacket(RTMPPacket& packet)
à RTMP_LIB.RTMP.ConnectStream()
à RTMP_LIB.RTMP.Connect(Link link)
à RTMP_LIB.RTMPRequestHandler.HandleRequest(String url, HTTPServerRequest request, HTTPServerResponse response)
2010-10-20 00:05:23.114545 [Debug][RTMPProxy(28)]: [OnlineVideos]Request finished.
Can you help me please ?
Thanks !