Hello.
I'm trying to use
rtmpdump to get a stream but no matter the info I provide (all correct) there seems to be something missing and the server denies me the stream.
To anyone who tries it. This is an adult stream (adult movie trailers), so definitely NSFW.
This is
rtmpdump (aka problematic) dump edited for clarity:
Code:
DEBUG: Protocol : RTMP
DEBUG: Hostname : 195.228.156.167
DEBUG: Port : 1935
DEBUG: Playpath : channel0_0_hi
DEBUG: tcUrl : rtmp://195.228.156.167/webtv
DEBUG: swfUrl : http://tv69.hu/indexflash.swf
DEBUG: pageUrl : http://live.tv69.hu/video.php?channel=channel0_0_hi
DEBUG: app : webtv
DEBUG: live : yes
DEBUG: RTMP_ClientPacket, received: invoke 115 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: _result>
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: status>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Success>
DEBUG: Property: <Name: description, STRING: Connection succeeded.>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG2: RTMP_SendPacket: fd=1928, size=4
DEBUG2: 0000: 02 00 00 00 00 00 04 05 00 00 00 00 ............
DEBUG2: 0000: 00 02 00 00 ....
DEBUG: sending ctrl. type: 0x0003
DEBUG2: RTMP_SendPacket: fd=1928, size=10
DEBUG2: 0000: 42 00 00 00 00 00 0a 04 B.......
DEBUG2: 0000: 00 03 00 00 00 00 00 00 01 2c .........,
DEBUG2: RTMP_SendPacket: fd=1928, size=25
DEBUG2: 0000: 43 00 00 00 00 00 19 14 C.......
DEBUG2: 0000: 02 00 0c 63 72 65 61 74 65 53 74 72 65 61 6d 00 ...createStream.
DEBUG2: 0010: 40 08 00 00 00 00 00 00 05 @........
DEBUG: Invoking createStream
DEBUG: FCSubscribe: channel0_0_hi
DEBUG2: RTMP_SendPacket: fd=1928, size=40
DEBUG2: 0000: 43 00 00 00 00 00 28 14 C.....(.
DEBUG2: 0000: 02 00 0b 46 43 53 75 62 73 63 72 69 62 65 00 40 ...FCSubscribe.@
DEBUG2: 0010: 10 00 00 00 00 00 00 05 02 00 0d 63 68 61 6e 6e ...........chann
DEBUG2: 0020: 65 6c 30 5f 30 5f 68 69 el0_0_hi
DEBUG: Invoking FCSubscribe
DEBUG2: RTMP_ReadPacket: fd=1928
DEBUG2: 0000: 43 00 00 00 00 00 15 14 C.......
DEBUG2: 0000: 02 00 07 5f 72 65 73 75 6c 74 00 40 00 00 00 00 ..._result.@....
DEBUG2: 0010: 00 00 00 05 05 .....
DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: _result>
DEBUG: Property: <Name: no-name., NUMBER: 2.00>
DEBUG: Property: NULL
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result id 2 without matching request
DEBUG2: RTMP_ReadPacket: fd=1928
DEBUG2: 0000: 43 00 00 00 00 00 1d 14 C.......
DEBUG2: 0000: 02 00 07 5f 72 65 73 75 6c 74 00 40 08 00 00 00 ..._result.@....
DEBUG2: 0010: 00 00 00 05 00 3f f0 00 00 00 00 00 00 .....?.......
DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: _result>
DEBUG: Property: <Name: no-name., NUMBER: 3.00>
DEBUG: Property: NULL
DEBUG: Property: <Name: no-name., NUMBER: 1.00>
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: channel0_0_hi
DEBUG2: RTMP_SendPacket: fd=1928, size=42
DEBUG2: 0000: 08 00 00 00 00 00 2a 14 01 00 00 00 ......*.....
DEBUG2: 0000: 02 00 04 70 6c 61 79 00 40 14 00 00 00 00 00 00 ...play.@.......
DEBUG2: 0010: 05 02 00 0d 63 68 61 6e 6e 65 6c 30 5f 30 5f 68 ....channel0_0_h
DEBUG2: 0020: 69 00 c0 8f 40 00 00 00 00 00 i...@.....
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG2: RTMP_SendPacket: fd=1928, size=10
DEBUG2: 0000: c2 .
DEBUG2: 0000: 00 03 00 00 00 01 02 25 51 00 .......%Q.
DEBUG2: RTMP_ReadPacket: fd=1928
DEBUG2: 0000: 43 00 00 00 00 00 15 14 C.......
DEBUG2: 0000: 02 00 07 5f 72 65 73 75 6c 74 00 40 10 00 00 00 ..._result.@....
DEBUG2: 0010: 00 00 00 05 05 .....
DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: _result>
DEBUG: Property: <Name: no-name., NUMBER: 4.00>
DEBUG: Property: NULL
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <FCSubscribe>
DEBUG2: RTMP_ReadPacket: fd=1928
DEBUG2: 0000: 04 00 00 00 00 00 a4 14 01 00 00 00 ............
DEBUG2: 0000: 02 00 08 6f 6e 53 74 61 74 75 73 00 3f f0 00 00 ...onStatus.?...
DEBUG2: 0010: 00 00 00 00 05 03 00 05 6c 65 76 65 6c 02 00 05 ........level...
DEBUG2: 0020: 65 72 72 6f 72 00 04 63 6f 64 65 02 00 10 4e 65 error..code...Ne
DEBUG2: 0030: 74 53 74 72 65 61 6d 2e 46 61 69 6c 65 64 00 0b tStream.Failed..
DEBUG2: 0040: 64 65 73 63 72 69 70 74 69 6f 6e 02 00 27 59 6f description..'Yo
DEBUG2: 0050: 75 20 61 72 65 20 6e 6f 74 20 61 6c 6c 6f 77 65 u are not allowe
DEBUG2: 0060: 64 20 74 6f 20 70 6c 61 79 20 74 68 65 20 73 74 d to play the st
DEBUG2: 0070: 72 65 61 6d 2e 00 07 64 65 74 61 69 6c 73 02 00 ream...details..
DEBUG2: RTMP_ReadPacket: fd=1928
DEBUG2: 0000: c4 .
DEBUG2: 0000: 0d 63 68 61 6e 6e 65 6c 30 5f 30 5f 68 69 00 08 .channel0_0_hi..
DEBUG2: 0010: 63 6c 69 65 6e 74 69 64 00 3f f0 00 00 00 00 00 clientid.?......
DEBUG2: 0020: 00 00 00 09 ....
DEBUG: RTMP_ClientPacket, received: invoke 164 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: onStatus>
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: NetStream.Failed>
DEBUG: Property: <Name: description, STRING: You are not allowed to play the stream.>
DEBUG: Property: <Name: details, STRING: channel0_0_hi>
DEBUG: Property: <Name: clientid, NUMBER: 1.00>
This is the
browser (aka working) dump:
Code:
T 2011/01/05 13:56:50.755306 192.168.1.1:63795 -> 195.228.156.167:1935 [AP]
..........................................................................................|........connect.?..........app...webtv..flashVer...
WIN 10,1,102,64..swfUrl..khttp://tv69.hu/indexflash.swf?rnd=1294228657&sessid=&log.oframe=3&width=640&height=480&channel=channel0_hi_0..tcUrl.
..rtmp://195.228.156.167/webtv..fpad....capabilities.@m........audioCod.ecs.@.........videoCodecs.@o........videoFunction.?.........pageUrl..3ht
tp://live.tv69.hu/video.php?channel=channel0_0_hi...
T 2011/01/05 13:56:50.878336 195.228.156.167:1935 -> 192.168.1.1:63795 [AP]
...............onBWDone.@........
T 2011/01/05 13:56:51.124926 195.228.156.167:1935 -> 192.168.1.1:63795 [AP]
................B.............C.....s...._result.?...........level...status..code...NetConnection.Connect.Success..description...Connection su
cceeded....
T 2011/01/05 13:56:51.150062 192.168.1.1:63795 -> 195.228.156.167:1935 [AP]
C..8..H...._error.@...........code...NetConnection.Call.Failed..level...error...C.........global.................C..........login.@...........
T 2011/01/05 13:56:51.238330 195.228.156.167:1935 -> 192.168.1.1:63795 [AP]
C.....j...global..Z..........................conncnt.@3.............peakconncnt.@Z............
maxconncnt.@.......
T 2011/01/05 13:56:51.434824 195.228.156.167:1935 -> 192.168.1.1:63795 [AP]
C.....$...._result.@...............ok...1...
T 2011/01/05 13:56:51.470838 192.168.1.1:63795 -> 195.228.156.167:1935 [AP]
......
...............C..,.......createStream.@........
T 2011/01/05 13:56:51.568565 195.228.156.167:1935 -> 192.168.1.1:63795 [AP]
C.........._result.@.........?.......
T 2011/01/05 13:56:51.581860 192.168.1.1:63795 -> 195.228.156.167:1935 [AP]
...r..!........play.............channel0_hi_0..............
T 2011/01/05 13:56:51.675912 195.228.156.167:1935 -> 192.168.1.1:63795 [AP]
..................
T 2011/01/05 13:56:51.769452 195.228.156.167:1935 -> 192.168.1.1:63795 [A]
...............onStatus.?...........level...status..code...NetStream.Play.Reset..description..$Playing and resetting channel0_hi_0...details..
..channel0_hi_0..clientid.?..........D..........onStatus.?...........level...status..code...NetStream.Play.Start..description...Started playin
g channel0_hi_0...details...cha.nnel0_hi_0..clientid.?............./..;.....+...`
The only difference I see is that the browser does not issue a "Subscribe"to the server.
The URL of the site/player is:
Code:
http://live.tv69.hu/video.php?channel=channel0_0_hi
I would appreciate any input.