Quote:
Originally Posted by KSV
They have stopped using SecureToken. now they append auth string to connect packet and to calculate this auth string they use chained keys (one key leading to another and so on). final command will look like
Code:
RTMPDump v2.4 GIT-2012-03-08 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO: duration 0.00
INFO: width 854.00
INFO: height 480.00
INFO: videodatarate 683.59
INFO: framerate 25.00
INFO: videocodecid 7.00
INFO: audiodatarate 93.75
INFO: audiosamplerate 48000.00
INFO: audiosamplesize 16.00
INFO: stereo TRUE
INFO: audiocodecid 10.00
INFO: encoder Lavf53.27.0
INFO: filesize 0.00
601.738 kB / 5.06 sec
|
Too bad. I didn't figure out where did you find that auth string.
Is it there?
Code:
RTMPDump v2.4 GIT-2012-03-08 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
DEBUG: live : yes
DEBUG: timeout : 30 sec
DEBUG: SWFSHA256:
DEBUG: f0 ae 30 26 70 bd 63 b9 9d f7 14 12 6e 8e c6 c9
DEBUG: 2a d9 06 ba 90 6a f8 5c da 0b b2 0d ed df 16 37
DEBUG: SWFSize : 494681
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 06
DEBUG: HandShake: DH pubkey position: 166
DEBUG: HandShake: Client digest offset: 879
DEBUG: HandShake: Initial client digest:
DEBUG: 6d e8 76 dc 82 37 e8 18 0f 25 b2 21 a7 e4 1a 05
DEBUG: fb a0 fb 9f e4 a9 8a 6b 5f 25 63 be 32 50 b4 03
DEBUG: HandShake: Type Answer : 06
DEBUG: HandShake: Server Uptime : 1409272802
DEBUG: HandShake: FMS Version : 3.0.2.1
WARNING: Trying different position for server digest!
DEBUG: HandShake: Server DH public key offset: 1400
DEBUG: HandShake: Secret key:
DEBUG: b0 e2 8f 75 cb e6 bb e6 8b e2 f0 66 4c a8 b3 90
DEBUG: 70 81 e4 da d3 8d 49 88 0a 62 b3 26 9a ea 0a e5
DEBUG: f3 bc f0 8e e9 a7 6d 1f dd dc 17 cb 56 56 e4 b5
DEBUG: f2 6e ac fa 7d 7d 34 02 c5 f9 29 86 65 b1 66 04
DEBUG: 47 a9 e4 3c 2e b7 b0 a8 d4 9a cd ed b2 13 c7 23
DEBUG: 70 b1 7a cb 63 41 7b fd ba 4e 73 d7 2f c1 52 c8
DEBUG: 6e 34 d6 ee 33 3b 75 41 8d 11 cf 3d 71 cf 49 f1
DEBUG: 98 23 e0 b5 19 69 c8 f5 c6 46 8f 0b 26 eb e8 85
DEBUG: RC4 Out Key:
DEBUG: 3c 1e 43 ab e3 07 c2 51 1e d4 06 55 a6 4f be ba
DEBUG: RC4 In Key:
DEBUG: a9 4a ae a2 5e 53 02 a0 31 07 6b 18 93 da 7d 44
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: fc ca db 27 4e 8a 89 c7 2e 0f 72 8e 66 3d 31 11
DEBUG: 4f 2b 3d c8 0e ab 35 09 64 8b b5 6b 57 5f e1 77
DEBUG: HandShake: Client signature calculated:
DEBUG: ff 59 15 82 a2 28 70 89 ec 44 2a ed d3 97 c2 2a
DEBUG: 54 e9 b4 54 16 50 fc e0 c7 da af 4b de 92 87 2e
DEBUG: HandShake: Server sent signature:
DEBUG: 85 c3 2b 22 e0 bc ed 3d 75 24 b9 60 82 14 42 8d
DEBUG: 40 d7 93 d3 4e bd 7b 09 0f f9 80 a9 61 b4 e2 1d
DEBUG: HandShake: Digest key:
DEBUG: 51 97 03 7b 4f f0 6c ba 8c 5c a7 3c cf 85 5f 84
DEBUG: 56 5c e0 75 7d ab 63 83 97 d7 7b c4 10 f1 76 2a
DEBUG: HandShake: Signature calculated:
DEBUG: 85 c3 2b 22 e0 bc ed 3d 75 24 b9 60 82 14 42 8d
DEBUG: 40 d7 93 d3 4e bd 7b 09 0f f9 80 a9 61 b4 e2 1d
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG2: RTMP_SendPacket: fd=1892, size=314
DEBUG2: 0000: 03 00 00 00 00 01 3a 14 00 00 00 00 ......:.....
DEBUG2: 0000: 02 00 07 63 6f 6e 6e 65 63 74 00 3f f0 00 00 00 ...connect.?
....
DEBUG2: 0010: 00 00 00 03 00 03 61 70 70 02 00 08 74 76 70 6c ......app...
tvpl
DEBUG2: 0020: 61 79 65 72 00 08 66 6c 61 73 68 56 65 72 02 00 ayer..flashV
er..
DEBUG2: 0030: 0e 57 49 4e 20 31 30 2c 30 2c 33 32 2c 31 38 00 .WIN 10,0,32
,18.
DEBUG2: 0040: 06 73 77 66 55 72 6c 02 00 2d 68 74 74 70 3a 2f .swfUrl..-ht
tp:/
DEBUG2: 0050: 2f 62 65 74 61 2e 73 74 61 74 69 63 2e 70 6c 61 /beta.static
.pla
DEBUG2: 0060: 79 74 76 2e 66 72 2f 73 77 66 2f 74 76 70 6c 61 ytv.fr/swf/t
vpla
DEBUG2: 0070: 79 65 72 2e 73 77 66 00 05 74 63 55 72 6c 02 00 yer.swf..tcU
rl..
DEBUG2: 0000: c3 .
DEBUG2: 0000: 24 72 74 6d 70 65 3a 2f 2f 31 38 38 2e 31 36 35 $rtmpe://188
.165
DEBUG2: 0010: 2e 31 30 31 2e 32 32 37 3a 34 34 33 2f 74 76 70 .101.227:443
/tvp
DEBUG2: 0020: 6c 61 79 65 72 00 04 66 70 61 64 01 00 00 0c 63 layer..fpad.
...c
DEBUG2: 0030: 61 70 61 62 69 6c 69 74 69 65 73 00 40 2e 00 00 apabilities.
@...
DEBUG2: 0040: 00 00 00 00 00 0b 61 75 64 69 6f 43 6f 64 65 63 ......audioC
odec
DEBUG2: 0050: 73 00 40 a8 ee 00 00 00 00 00 00 0b 76 69 64 65 s.@.........
vide
DEBUG2: 0060: 6f 43 6f 64 65 63 73 00 40 6f 80 00 00 00 00 00 oCodecs.@o..
....
DEBUG2: 0070: 00 0d 76 69 64 65 6f 46 75 6e 63 74 69 6f 6e 00 ..videoFunct
ion.
DEBUG2: 0000: c3 .
DEBUG2: 0000: 3f f0 00 00 00 00 00 00 00 07 70 61 67 65 55 72 ?.........pa
geUr
DEBUG2: 0010: 6c 02 00 23 68 74 74 70 3a 2f 2f 70 6c 61 79 74 l..#http://p
layt
DEBUG2: 0020: 76 2e 66 72 2f 74 65 6c 65 76 69 73 69 6f 6e 2f v.fr/televis
ion/
DEBUG2: 0030: 23 6c 63 70 2d 70 73 00 00 09 #lcp-ps...
DEBUG: Invoking connect
INFO: Connected...
DEBUG2: RTMP_ReadPacket: fd=1892
DEBUG2: 0000: 02 00 00 00 00 00 04 05 00 00 00 00 ............
DEBUG2: 0000: 00 26 25 a0 .&%.
DEBUG: HandleServerBW: server BW = 2500000
DEBUG2: RTMP_ReadPacket: fd=1892
DEBUG2: 0000: 02 00 00 00 00 00 05 06 00 00 00 00 ............
DEBUG2: 0000: 00 26 25 a0 02 .&%..
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG2: RTMP_ReadPacket: fd=1892
DEBUG2: 0000: 02 00 00 00 00 00 06 04 00 00 00 00 ............
DEBUG2: 0000: 00 00 00 00 00 00 ......
DEBUG: HandleCtrl, received ctrl, type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG2: RTMP_ReadPacket: fd=1892
DEBUG2: 0000: 02 00 00 00 00 00 04 01 00 00 00 00 ............
DEBUG2: 0000: 00 00 10 00 ....
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG2: RTMP_ReadPacket: fd=1892
DEBUG2: 0000: 03 00 00 00 00 00 d1 14 00 00 00 00 ............
DEBUG2: 0000: 02 00 06 5f 65 72 72 6f 72 00 3f f0 00 00 00 00 ..._error.?.
....
DEBUG2: 0010: 00 00 05 03 00 05 6c 65 76 65 6c 02 00 05 65 72 ......level.
..er
DEBUG2: 0020: 72 6f 72 00 04 63 6f 64 65 02 00 1e 4e 65 74 43 ror..code...
NetC
DEBUG2: 0030: 6f 6e 6e 65 63 74 69 6f 6e 2e 43 6f 6e 6e 65 63 onnection.Co
nnec
DEBUG2: 0040: 74 2e 52 65 6a 65 63 74 65 64 00 0b 64 65 73 63 t.Rejected..
desc
DEBUG2: 0050: 72 69 70 74 69 6f 6e 02 00 33 43 6f 6e 6e 65 63 ription..3Co
nnec
DEBUG2: 0060: 74 69 6f 6e 20 66 61 69 6c 65 64 3a 20 41 70 70 tion failed:
App
DEBUG2: 0070: 6c 69 63 61 74 69 6f 6e 20 72 65 6a 65 63 74 65 lication rej
ecte
DEBUG2: 0080: 64 20 63 6f 6e 6e 65 63 74 69 6f 6e 2e 00 0b 61 d connection
...a
DEBUG2: 0090: 70 70 6c 69 63 61 74 69 6f 6e 02 00 1e 4e 65 74 pplication..
.Net
DEBUG2: 00a0: 43 6f 6e 6e 65 63 74 69 6f 6e 2e 43 6f 6e 6e 65 Connection.C
onne
DEBUG2: 00b0: 63 74 2e 52 65 6a 65 63 74 65 64 00 08 63 6c 69 ct.Rejected.
.cli
DEBUG2: 00c0: 65 6e 74 69 64 00 41 a1 eb 02 8a 00 00 00 00 00 entid.A.....
....
DEBUG2: 00d0: 09 .
DEBUG: RTMP_ClientPacket, received: invoke 209 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name, STRING: _error>
DEBUG: Property: <Name: no-name, NUMBER: 1.00>
DEBUG: Property: NULL
DEBUG: Property: <Name: no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Re
jected>
DEBUG: Property: <Name: description, STRING: Connection failed: Appli
cation rejected connection.>
DEBUG: Property: <Name: application, STRING: NetConnection.Connect.Re
jected>
DEBUG: Property: <Name: clientid, NUMBER: 150307141.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
DEBUG2: RTMP_ReadPacket: fd=1892
DEBUG2: 0000: 03 00 00 00 00 00 12 14 00 00 00 00 ............
DEBUG2: 0000: 02 00 05 63 6c 6f 73 65 00 00 00 00 00 00 00 00 ...close....
....
DEBUG2: 0010: 00 05 ..
DEBUG: RTMP_ClientPacket, received: invoke 18 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name, STRING: close>
DEBUG: Property: <Name: no-name, NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
DEBUG: Closing connection.
Is there any chance to automize that with some script so I can include it in batch? I really miss those channels.
I will be really grateful to you if you can do it.
