PDA

View Full Version : streamate.com - HandShake: client signature does not match!


tural2010
08-01-2013, 02:30 AM
I am trying to download a stream from streamate.com with rtmpdump. Using Firefox to navigate to the site give the following data in rtmpsuck.exe:

WARNING: Trying different position for client digest!
Processing connect
app: reflect/2996041588
flashVer: WIN 11,8,800,94
swfUrl: http://www.naiadsystems.com/flash/generic/20130729142437-6-6b7256f/avchat.swf
tcUrl: rtmp://fcs61-1.streamate.com/reflect/2996041588
pageUrl: http://www.streamate.com/cam/Alice21/
Playpath: 2996041588
Saving as: 2996041588
INFO: Metadata:
INFO: presetname Custom
INFO: creationdate Thu Aug 01 09:59:43 2013
INFO: videodevice ManyCam Video Source
INFO: framerate 29.97
INFO: width 640.00
INFO: height 480.00
INFO: videocodecid avc1
INFO: videodatarate 800.00
INFO: avclevel 31.00
INFO: avcprofile 77.00
INFO: videokeyframe_frequency1.00
INFO: audiodevice ∟8:@>D>= (HD Pro Webcam C920)
INFO: audiosamplerate 44100.00
INFO: audiochannels 1.00
INFO: audioinputvolume 75.00
INFO: audiocodecid .mp3
INFO: audiodatarate 56.00
WARNING: ignoring too small audio packet: size: 0


Here is the verbose output:

C:\Users\tural\Desktop>rtmpdump -o stream.flv -v -r "rtmp://fcs61-1.streamate.com/reflect/2996041588" -p "http://www.streamate.com/cam/Alice21/" -s "http://www.na
iadsystems.com/flash/generic/20130729142437-6-6b7256f/avchat.swf" -V
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : fcs61-1.streamate.com
DEBUG: Port : 1935
DEBUG: Playpath : 2996041588
DEBUG: tcUrl : rtmp://fcs61-1.streamate.com:1935/reflect
DEBUG: swfUrl : http://www.naiadsystems.com/flash/generic/20130729142437-6-6b7256f/avchat.swf
DEBUG: pageUrl : http://www.streamate.com/cam/Alice21/
DEBUG: app : reflect
DEBUG: live : yes
DEBUG: timeout : 30 sec
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 444753559
DEBUG: HandShake: FMS Version : 5.0.1.1
WARNING: HandShake: client signature does not match!
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleChangeChunkSize, received: chunk size change to 8192
DEBUG: RTMP_ClientPacket, received: invoke 144 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Rejected>
DEBUG: Property: <Name: description, STRING: Connection failed.>
DEBUG: Property: <Name: application, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: state, NUMBER: 9.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
DEBUG: RTMP_ClientPacket, received: invoke 18 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
DEBUG: Closing connection.

How can the handskake problem be fixed?

hasomaso
08-01-2013, 02:54 AM
rtmpdump -v -r "rtmp://fcs131-1.streamate.com/reflect/2996240356" -a "reflect/2996240356" -f "WIN 11,8,800,94" -W "http://www.naiadsystems.com/flash/generic/20130729142437-6-6b7256f/avchat.swf" -p "http://www.streamate.com/cam/Driving_Crazy/?langchoice=de" -C S:0 -C S:12826448 -C S: -C O:1 -C NS:pid:12826448 -C NS:freecnt:2 -C NS:nickname: -C NS:sessionType:preview -C NS:sid:2996240356 -C NS:ft:15 -C NS:sakey: -C NS:lang:de -C NS:hd:1 -C NN:version:7.000000 -C NS:sk:streamate.com -C NS:signupargs:smid=12826448 -C NS:srv:72977 -C NS:g:L2NhbS9Ecml2aW5nX0NyYXp5Lz9sYW5nY2hvaWNlPWRl -C O:0 -y "2996240356" -o "2013-08-01_10-52-33_2996240356.flv"

tural2010
08-01-2013, 04:09 AM
rtmpdump -v -r "rtmp://fcs131-1.streamate.com/reflect/2996240356" -a "reflect/2996240356" -f "WIN 11,8,800,94" -W "http://www.naiadsystems.com/flash/generic/20130729142437-6-6b7256f/avchat.swf" -p "http://www.streamate.com/cam/Driving_Crazy/?langchoice=de" -C S:0 -C S:12826448 -C S: -C O:1 -C NS:pid:12826448 -C NS:freecnt:2 -C NS:nickname: -C NS:sessionType:preview -C NS:sid:2996240356 -C NS:ft:15 -C NS:sakey: -C NS:lang:de -C NS:hd:1 -C NN:version:7.000000 -C NS:sk:streamate.com -C NS:signupargs:smid=12826448 -C NS:srv:72977 -C NS:g:L2NhbS9Ecml2aW5nX0NyYXp5Lz9sYW5nY2hvaWNlPWRl -C O:0 -y "2996240356" -o "2013-08-01_10-52-33_2996240356.flv"

Thanks. That works perfectly. I was missing all the "-C" parameters. How did you manage to get these? I can see them in the source code now, so programmatically it should be possible to string together all the arguments for rtmpdump.

hasomaso
08-01-2013, 04:14 AM
Thanks. That works perfectly. I was missing all the "-C" parameters. How did you manage to get these? I can see them in the source code now, so programmatically it should be possible to string together all the arguments for rtmpdump.


use RTMPExplorer + rtmpsuck or rtmpsrv