[rtmpdump] rtmpdump "cleaning up..." keeps on forever (?) on Windows for non-existent streams on simplecdn.net servers
PLTK
pnixte at gmail.com
Tue Mar 16 00:58:08 CET 2010
Hello.
This is most possibly a LOW priority "bug".
Trying to further help on the the development of rtmpdump I tried the
following command on
Windows. (rtmpdump v2.2)
rtmpdump -v -r rtmp://liveplay.simplecdn.net/staticvto8k/ms3292.flv -y
ms3292.flv
The above command works great as long as the "ms3292.flv" part exists
on the server.
If it does not, then the program waits forever (or "for a very long
time") and while the first
"Ctrl+C" will be accepted, the second/third/etc will be ignored and
the program can only
be killed through the "task manager".
I think this problem happens only on simplecdn.net servers, although I
will keep on looking.
The above command with verbose output (and some hints of mine prefixed
with >>>) :
RTMPDump v2.2
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Parsing...
DEBUG: Parsed protocol: 0
DEBUG: Parsed host : liveplay.simplecdn.net
DEBUG: Parsed app : staticvto8k
WARNING: You haven't specified an output file (-o filename), using stdout
DEBUG: Protocol : RTMP
DEBUG: Hostname : liveplay.simplecdn.net
DEBUG: Port : 1935
DEBUG: Playpath : ms3292.flv
DEBUG: tcUrl : rtmp://liveplay.simplecdn.net:1935/staticvto8k
DEBUG: swfUrl : (null)
DEBUG: pageUrl : (null)
DEBUG: app : staticvto8k
DEBUG: auth : (null)
DEBUG: subscribepath : (null)
DEBUG: flashVer : WIN 10,0,22,87
DEBUG: live : yes
DEBUG: timeout : 120 sec
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 96850052
DEBUG: HandShake: FMS Version : 3.0.1.1
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: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 259 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name: fmsVer, STRING: FMS/3,5,2,654>
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: data, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: version, STRING: 3,5,2,654>
DEBUG: (object end)
DEBUG: Property: <Name: clientid, NUMBER: 715783343.00>
DEBUG: Property: <Name: objectEncoding, NUMBER: 0.00>
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: FCSubscribe: ms3292.flv
DEBUG: Invoking FCSubscribe
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.00, dLength=0, sending play: ms3292.flv
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: RTMP_ClientPacket, received: invoke 143 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: status>
DEBUG: Property: <Name: code, STRING:
NetStream.Play.Start>
DEBUG: Property: <Name: description, STRING:
FCSubscribe to stream ms3292.flv.>
DEBUG: Property: <Name: clientid, NUMBER: 715783343.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onFCSubscribe>
>>>>>> Client waits for 4-5 seconds (From now on, only the first "Ctrl+c" is "understood")
DEBUG: HandleCtrl, received ctrl. type: 6, len: 6
DEBUG: HandleCtrl, Ping 5700
DEBUG: sending ctrl. type: 0x0007
DEBUG: HandleCtrl, received ctrl. type: 6, len: 6
DEBUG: HandleCtrl, Ping 10818
DEBUG: sending ctrl. type: 0x0007
DEBUG: RTMP_ClientPacket, received: invoke 202 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: status>
DEBUG: Property: <Name: code, STRING:
NetStream.Play.UnpublishNotify>
DEBUG: Property: <Name: description, STRING:
rtmp://pulllive.simplecdn.net:1935/staticvto8k/_definst_/ms3292.flv is
now unpublished.>
DEBUG: Property: <Name: clientid, NUMBER: 715783343.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.UnpublishNotify
DEBUG: HandleCtrl, received ctrl. type: 6, len: 6
DEBUG: HandleCtrl, Ping 16051
DEBUG: sending ctrl. type: 0x0007
DEBUG: HandleCtrl, received ctrl. type: 6, len: 6
DEBUG: HandleCtrl, Ping 21231
DEBUG: sending ctrl. type: 0x0007
DEBUG: RTMP_ClientPacket, received: invoke 202 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: status>
DEBUG: Property: <Name: code, STRING:
NetStream.Play.UnpublishNotify>
DEBUG: Property: <Name: description, STRING:
rtmp://pulllive.simplecdn.net:1935/staticvto8k/_definst_/ms3292.flv is
now unpublished.>
DEBUG: Property: <Name: clientid, NUMBER: 715783343.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.UnpublishNotify
DEBUG: HandleCtrl, received ctrl. type: 6, len: 6
DEBUG: HandleCtrl, Ping 26354
DEBUG: sending ctrl. type: 0x0007
DEBUG: HandleCtrl, received ctrl. type: 6, len: 6
DEBUG: HandleCtrl, Ping 31547
DEBUG: sending ctrl. type: 0x0007
DEBUG: HandleCtrl, received ctrl. type: 6, len: 6
DEBUG: HandleCtrl, Ping 36713
DEBUG: sending ctrl. type: 0x0007
DEBUG: RTMP_ClientPacket, received: invoke 202 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: status>
DEBUG: Property: <Name: code, STRING:
NetStream.Play.UnpublishNotify>
DEBUG: Property: <Name: description, STRING:
rtmp://pulllive.simplecdn.net:1935/staticvto8k/_definst_/ms3292.flv is
now unpublished.>
DEBUG: Property: <Name: clientid, NUMBER: 715783343.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.UnpublishNotify
Caught signal: 2, cleaning up, just a second...
>>>>>>>>>>> I pressed "Ctrl+C" above, from now on, program outputs data but does not terminate
DEBUG: HandleCtrl, received ctrl. type: 6, len: 6
DEBUG: HandleCtrl, Ping 41888
DEBUG: sending ctrl. type: 0x0007
DEBUG: HandleCtrl, received ctrl. type: 6, len: 6
DEBUG: HandleCtrl, Ping 47123
DEBUG: sending ctrl. type: 0x0007
DEBUG: RTMP_ClientPacket, received: invoke 202 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: status>
DEBUG: Property: <Name: code, STRING:
NetStream.Play.UnpublishNotify>
DEBUG: Property: <Name: description, STRING:
rtmp://pulllive.simplecdn.net:1935/staticvto8k/_definst_/ms3292.flv is
now unpublished.>
DEBUG: Property: <Name: clientid, NUMBER: 715783343.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.UnpublishNotify
DEBUG: HandleCtrl, received ctrl. type: 6, len: 6
DEBUG: HandleCtrl, Ping 52302
DEBUG: sending ctrl. type: 0x0007
DEBUG: HandleCtrl, received ctrl. type: 6, len: 6
DEBUG: HandleCtrl, Ping 57533
DEBUG: sending ctrl. type: 0x0007
DEBUG: HandleCtrl, received ctrl. type: 6, len: 6
DEBUG: HandleCtrl, Ping 62667
DEBUG: sending ctrl. type: 0x0007
DEBUG: RTMP_ClientPacket, received: invoke 202 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: status>
DEBUG: Property: <Name: code, STRING:
NetStream.Play.UnpublishNotify>
DEBUG: Property: <Name: description, STRING:
rtmp://pulllive.simplecdn.net:1935/staticvto8k/_definst_/ms3292.flv is
now unpublished.>
DEBUG: Property: <Name: clientid, NUMBER: 715783343.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.UnpublishNotify
DEBUG: HandleCtrl, received ctrl. type: 6, len: 6
DEBUG: HandleCtrl, Ping 67909
DEBUG: sending ctrl. type: 0x0007
DEBUG: HandleCtrl, received ctrl. type: 6, len: 6
DEBUG: HandleCtrl, Ping 73021
DEBUG: sending ctrl. type: 0x0007
DEBUG: RTMP_ClientPacket, received: invoke 202 bytes
Regards.
More information about the rtmpdump
mailing list