Hi all, today I've started using rtmpdump and rtmpsuck and I ran into some problems.
First when I fetched the information of the rtmp request I had the first error when it tried to get the swf file from an https domain and it gave me this error:
Code:
WARNING: Trying different position for client digest!
Processing connect
app: Stream?auth=febaac678eccc278d72a35541a3876ae33ea1875e2958807ac814ac23dfd504f9a6661fa48fb9d2f8b7c71e8314a48f1fab72f2bdc346ad8df7467f07344488d5cce21bce3eb187c3685ea6c78735af74e25ffd4fa99463cd756177c0db4c0f1614f01750eb1f65047f65b6e4024af12d5f12ca2389569c2650224196732199c
flashVer: LNX 11,2,202,280
swfUrl: https://mog.com/swf/headless_v2_041012_1451.swf
ERROR: HTTP_get, TLS_Connect failed
ERROR: RTMP_HashSWF: connection lost while downloading swfurl https://mog.com/swf/headless_v2_041012_1451.swf
tcUrl: rtmp://MOG.flash-prod.musicnet.com:1935/Stream?auth=febaac678eccc278d72a35541a3876ae33ea1875e2958807ac814ac23dfd504f9a6661fa48fb9d2f8b7c71e8314a48f1fab72f2bdc346ad8df7467f07344488d5cce21bce3eb187c3685ea6c78735af74e25ffd4fa99463cd756177c0db4c0f1614f01750eb1f65047f65b6e4024af12d5f12ca2389569c2650224196732199c
pageUrl: https://mog.com/m#album/46432407
Processing connect
And it kept in an infinite loop. Well that is a simple issue as I downloaded the swf with wget and analyzed the info so I passed this command:
Code:
rtmpdump -r "rtmp://MOG.flash-prod.musicnet.com:80/Stream?auth=febaac678eccc278d72a35541a3876ae33ea1875e2958807ac814ac23dfd504f9a6661fa48fb9d2f8b7c71e8314a48f1fab72f2bdc346ad8df7467f07344488d5cce21bce3eb187c3685ea6c78735af74e25ffd4fa99463cd756177c0db4c0f1614f01750eb1f65047f65b6e4024af12d5f12ca2389569c2650224196732199c/mp3/mn_mp3_10_19/downloads/a070/046/432/46432423_1_017" --swfhash "d28fa93eed6d6dba130b192dbb40cd793af7c5905a48886663e436e0a5048e59" --swfsize "183754" -o 'test' -V
With this result (I cutted the log, if you need the head just ask for it):
Code:
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: RTMP_ClientPacket, received: invoke 240 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name: fmsVer, STRING: FMS/3,5,2,688>
DEBUG: Property: <Name: capabilities, NUMBER: 31.00>
DEBUG: Property: <Name: mode, NUMBER: 1.00>
DEBUG: (object end)
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: status>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Success>
DEBUG: Property: <Name: description, STRING: Connection succeeded.>
DEBUG: Property: <Name: objectEncoding, NUMBER: 0.00>
DEBUG: Property: <Name: data, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: version, STRING: 3,5,2,688>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: sending ctrl. type: 0x0003
DEBUG: Invoking createStream
DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onBWDone>
DEBUG: Invoking _checkbw
DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: mn_mp3_10_19/downloads/a070/046/432/46432423_1_017
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: RTMP_ClientPacket, received: invoke 16419 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_onbwcheck>
DEBUG: Invoking _result
DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 1
DEBUG: RTMP_ClientPacket, received: invoke 133 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetStream.Failed>
DEBUG: Property: <Name: description, STRING: Failed to play (stream ID: 1).>
DEBUG: Property: <Name: clientid, STRING: FXRg-oof>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Failed
ERROR: Closing connection: NetStream.Failed
DEBUG: Closing connection.
Any idea of what might be happening?
Thank you!