<HTML><BODY>
Hi All,<br><br>I have a compatibility issue with rtmpdump 2.3 and fms 3.5/4.0.<br>The trouble is beacause of the 3 lines in ActionScript publisher my <br>client uses:<br><br>--------------------<br>...<br>// publish the stream by name<br>nsPublish.publish(publishName.text);<br><br><br>// Here they are:<br><br>// add custom metadata to the stream<br>var metaData:Object = new Object();<br>metaData["description"] = "Chat using VideoChat example."<br>nsPublish.send("@setDataFrame", "onMetaData", metaData);<br><br><br>// attach the camera and microphone to the server<br>nsPublish.attachCamera(camera);<br>nsPublish.attachAudio(microphone);<br>...<br>------------<br><br><br>When I try to read the stream published with metadata using<br><br>rtmpdump --verbose --live -r rtmp://127.0.0.1/live/myStream -o 1.flv <br><br>rtmpdump fails with log listed below. However, any native flash-player<br>plays the stream ok. <br><br>I would like to make a patch that fixes an issue, but don't even kn
ow where to start.<br>It seems like FMS just closes the pipe at some moment.<br><br>Please help, any suggestions are appreciated.<br><br>Alexander.<br><br>rtmpdump log:<br><br>[alex@romul rtmpdump-2.3]$ rtmpdump --verbose --live -r rtmp://127.0.0.1/live/myStream -o 1.flv <br>RTMPDump v2.3<br>(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL<br>DEBUG: Parsing...<br>DEBUG: Parsed protocol: 0<br>DEBUG: Parsed host : 127.0.0.1<br>DEBUG: Parsed app : live<br>DEBUG: Protocol : RTMP<br>DEBUG: Hostname : 127.0.0.1<br>DEBUG: Port : 1935<br>DEBUG: Playpath : myStream<br>DEBUG: tcUrl : rtmp://127.0.0.1:1935/live<br>DEBUG: app : live<br>DEBUG: live : yes<br>DEBUG: timeout : 30 sec<br>DEBUG: Setting buffer time to: 36000000ms<br>Connecting ...<br>DEBUG: RTMP_Connect1, ... connected, handshaking<br>DEBUG: HandShake: Type A
nswer : 03<br>DEBUG: HandShake: Server Uptime : 568712<br>DEBUG: HandShake: FMS Version : 3.5.1.1<br>DEBUG: HandShake: Handshaking finished....<br>DEBUG: RTMP_Connect1, handshaked<br>DEBUG: Invoking connect<br>INFO: Connected...<br>DEBUG: HandleServerBW: server BW = 2500000<br>DEBUG: HandleClientBW: client BW = 2500000 2<br>DEBUG: HandleCtrl, received ctrl. type: 0, len: 6<br>DEBUG: HandleCtrl, Stream Begin 0<br>DEBUG: RTMP_ClientPacket, received: invoke 240 bytes<br>DEBUG: 0000: 02 00 07 5f 72 65 73 75 6c 74 00 3f f0 00 00 00 ..._result.?.... <br>DEBUG: 0010: 00 00 00 03 00 06 66 6d 73 56 65 72 02 00 0d 46 ......fmsVer...F <br>DEBUG: 0020: 4d 53 2f 33 2c 35 2c 31 2c 35 31 36 00 0c 63 61 MS/3,5,1,516..ca <br>DEBUG: 0030: 70 61 62 69 6c 69 74 69 65 73 00 40 3f 00 00 00 pabilities.@?... <
br>DEBUG: 0040: 00 00 00 00 04 6d 6f 64 65 00 3f f0 00 00 00 00 .....mode.?..... <br>DEBUG: 0050: 00 00 00 00 09 03 00 05 6c 65 76 65 6c 02 00 06 ........level... <br>DEBUG: 0060: 73 74 61 74 75 73 00 04 63 6f 64 65 02 00 1d 4e status..code...N <br>DEBUG: 0070: 65 74 43 6f 6e 6e 65 63 74 69 6f 6e 2e 43 6f 6e etConnection.Con <br>DEBUG: 0080: 6e 65 63 74 2e 53 75 63 63 65 73 73 00 0b 64 65 nect.Success..de <br>DEBUG: 0090: 73 63 72 69 70 74 69 6f 6e 02 00 15 43 6f 6e 6e scription...Conn <br>DEBUG: 00a0: 65 63 74 69 6f 6e 20 73 75 63 63 65 65 64 65 64 ection succeeded <br>DEBUG: 00b0: 2e 00 0e 6f 62 6a 65 63 74 45 6e 63 6f 64 69 6e ...objectEncodin 
; <br>DEBUG: 00c0: 67 00 00 00 00 00 00 00 00 00 00 04 64 61 74 61 g...........data <br>DEBUG: 00d0: 08 00 00 00 00 00 07 76 65 72 73 69 6f 6e 02 00 .......version.. <br>DEBUG: 00e0: 09 33 2c 35 2c 31 2c 35 31 36 00 00 09 00 00 09 .3,5,1,516...... <br>DEBUG: (object begin)<br>DEBUG: (object begin)<br>DEBUG: Property: <Name: fmsVer, STRING: FMS/3,5,1,516><br>DEBUG: Property: <Name: capabilities, NUMBER: 31.00><br>DEBUG: Property: <Name: mode, NUMBER: 1.00><br>DEBUG: (object end)<br>DEBUG: (object begin)<br>DEBUG: Property: <Name: &n
bsp; level, STRING: status><br>DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Success><br>DEBUG: Property: <Name: description, STRING: Connection succeeded.><br>DEBUG: Property: <Name: objectEncoding, NUMBER: 0.00><br>DEBUG: Property: <Name: data, OBJECT><br>DEBUG: (object begin)<br>DEBUG: Property: <Name: version, STRING: 3,5,1,516><br>DEBUG: (object end)<br>DEBUG: (object end)<br>DEBUG: (object end)<br>DEBUG: HandleInvoke, server invoking <_result><br>DEBUG: HandleInvoke, received
result for method call <connect><br>DEBUG: sending ctrl. type: 0x0003<br>DEBUG: Invoking createStream<br>DEBUG: FCSubscribe: myStream<br>DEBUG: Invoking FCSubscribe<br>DEBUG: RTMP_ClientPacket, received: invoke 29 bytes<br>DEBUG: 0000: 02 00 07 5f 72 65 73 75 6c 74 00 40 00 00 00 00 ..._result.@.... <br>DEBUG: 0010: 00 00 00 05 00 3f f0 00 00 00 00 00 00 .....?....... <br>DEBUG: (object begin)<br>DEBUG: Property: NULL<br>DEBUG: (object end)<br>DEBUG: HandleInvoke, server invoking <_result><br>DEBUG: HandleInvoke, received result for method call <createStream><br>DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: myStream<br>DEBUG: Invoking play<br>DEBUG: sending ctrl. type: 0x0003<br>Caught signal: 13, cleaning up, just a second...<br>ERROR: WriteN, RTMP send error 32 (42 bytes)<br>ERROR: RTMP_ReadP
acket, failed to read RTMP packet header<br>DEBUG: Closing connection.<br></BODY></HTML>