This is the page:
http://tvpublica.com.ar/vivo/
First I try to connect with
Code:
rtmpdump -n active.telecomcdn.com -a canal7vivoflash/canal7vivoflash/livestream/ -f 'LNX 11,0,1,129' -s 'http://tvpublica.com.ar/vivo/swf/player.swf' -t 'rtmp://active.telecomcdn.com/canal7vivoflash/canal7vivoflash/livestream/' -p 'http://tvpublica.com.ar/vivo/' -y 'livestream' -b 2000 -V
DEBUG: Protocol : RTMP
DEBUG: Hostname : active.telecomcdn.com
DEBUG: Port : 1935
DEBUG: Playpath : livestream
DEBUG: tcUrl : rtmp://active.telecomcdn.com/canal7vivoflash/canal7vivoflash/livestream/
DEBUG: swfUrl : http://tvpublica.com.ar/vivo/swf/player.swf
DEBUG: pageUrl : http://tvpublica.com.ar/vivo/
DEBUG: app : canal7vivoflash/canal7vivoflash/livestream/
DEBUG: flashVer : LNX 11,0,1,129
DEBUG: live : no
DEBUG: timeout : 30 sec
DEBUG: Setting buffer time to: 2000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 0
DEBUG: HandShake: FMS Version : 0.0.0.0
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.
This returns a similar dump to the online player one: s redirect response package
Code:
Real Time Messaging Protocol (AMF0 Command _error('NetConnection.Connect.Rejected'))
Redirecting to another rtmp address.
Code:
Property 'redirect' String 'rtmp://186.153.1.4/liverepeater/_definst_/5daaqaibaqm2bi2ezrnmey2gtrmitzqg'
rtmpdump doesn't handle it, and when I use it manually:
Code:
rtmpdump -r 'rtmp://186.153.1.4/liverepeater/_definst_/5daaqaibaqm2bi2ezrnmey2gtrmitzqg' -a 'liverepeater/_definst_/5daaqaibaqm2bi2ezrnmey2gtrmitzqg' -f 'LNX 11,0,1,129' -s 'http://tvpublica.com.ar/vivo/swf/player.swf' -p 'http://tvpublica.com.ar/vivo/' -b 2000 -y livestream -V
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-4KHq9s/pkcs11: No such file or directory
WARNING: You haven't specified an output file (-o filename), using stdout
DEBUG: Protocol : RTMP
DEBUG: Hostname : 186.153.1.4
DEBUG: Port : 1935
DEBUG: Playpath : livestream
DEBUG: tcUrl : rtmp://186.153.1.4:1935/liverepeater/_definst_/5daaqaibaqm2bi2ezrnmey2gtrmitzqg
DEBUG: swfUrl : http://tvpublica.com.ar/vivo/swf/player.swf
DEBUG: pageUrl : http://tvpublica.com.ar/vivo/
DEBUG: app : liverepeater/_definst_/5daaqaibaqm2bi2ezrnmey2gtrmitzqg
DEBUG: flashVer : LNX 11,0,1,129
DEBUG: live : no
DEBUG: timeout : 30 sec
DEBUG: Setting buffer time to: 2000ms
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,4,210>
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,4,210>
DEBUG: (object end)
DEBUG: Property: <Name: clientid, NUMBER: 2065159754.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: 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, stopTime=0, sending play: livestream
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: Invoking deleteStream
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.
I compared the original and the rtmpdump tcp-dumps again... and rtmpdump deletes the stream before giving it a chance to start, without apparent reason.
Any guesses? Might it because of a timeout? rtmpdump deletes the stream 140ms from the play package, and it takes the original player 290ms to receive a response.