Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-08-2012, 03:50 PM
xvan xvan is offline
Junior Member
 
Join Date: Oct 2012
Posts: 4
xvan is on a distinguished road
Default

TVPublica - deleteStream package


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.
Reply With Quote
 
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 11:07 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons