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

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 10-30-2011, 07:04 PM
rtmpdumpuser rtmpdumpuser is offline
Junior Member
 
Join Date: Oct 2011
Posts: 2
rtmpdumpuser is on a distinguished road
Default

Problematic RTMP Server - Tinychat [[DYNAMIC]]?


I was previously able to download streams from tinychat.com using rtmpdump, but they recently made some adjustments to their server and now I cannot.

Here are typical headers flash sends to tinychat's rtmp server:

Code:
rtmp://174.122.202.2:80/tinyconf/5010
app: tinyconf
flashVer: WIN 11,0,1,152
pageUrl: http://tinychat.com/testroom
swfUrl: http://tinychat.com/embed/Tinychat-1...on=1.0.0.0301/[[DYNAMIC]]/8
tcUrl: rtmp://174.122.202.2:80/tinyconf
playPath: 5010

From this I invoked rtmpdump with the following arguments

Code:
rtmpdump -r "rtmp://174.122.202.2:80/tinyconf/5010" --app tinyconf --flashVer "WIN 11,0,1,152" --pageUrl "http://tinychat.com/testroom" --swfUrl "http://tinychat.com/embed/Tinychat-10.3-1.0.0.0301.swf?version=1.0.0.0301/[[DYNAMIC]]/8" --tcUrl "rtmp://174.122.202.2:80/tinyconf" --playpath "5010" -W "http://tinychat.com/embed/Tinychat-10.3-1.0.0.0301.swf?version=1.0.0.0301/[[DYNAMIC]]/8"
but rtmpdump fails with

WARNING: HandShake: client signature does not match!
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed

There are also some additional headers which I cannot replicate using rtmpdump:

Code:
DEBUG: Property: <Name:     objectEncoding, NUMBER:     0.00>
DEBUG: (object end)
DEBUG: Property: <Name:           no-name., STRING:     testroom>
DEBUG: Property: <Name:           no-name., STRING:     none>
DEBUG: Property: <Name:           no-name., STRING:     default>
DEBUG: Property: <Name:           no-name., STRING:     tinychat>
DEBUG: Property: <Name:           no-name., STRING:     >
Is anyone able to download tinychat streams through rtmpdump? I think the problem may be related to the [[DYNAMIC]]. What could [[DYNAMIC]] represent/mean?

Last edited by rtmpdumpuser : 10-30-2011 at 08:21 PM.
Reply With Quote
  #2  
Old 10-31-2011, 01:53 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Problematic RTMP Server - Tinychat [[DYNAMIC]]?


[[DYNAMIC]] in swf url has nothing to do with the ability to connect and record the stream. you need to append custom AMF data to connect packet with (-C | --conn) switch to successfully connect to the server.

Code:
rtmpdump -r "rtmp://174.122.202.74:443/tinyconf" -a "tinyconf" -W "http://tinychat.com/embed/Tinychat-10.3-1.0.0.0301.swf" -C S:hollywoodempire -C S:none -C S:show -C S:tinychat -C S: -y "122253" --live -o Test.flv
Code:
RTMPDump v2.4 GIT-2011-09-30 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: client signature does not match!
INFO: Connected...
Starting Live Stream
1175.362 kB / 50.24 sec
Reply With Quote
  #3  
Old 10-31-2011, 02:10 AM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: Problematic RTMP Server - Tinychat [[DYNAMIC]]?


KSV
you have decoded?
-C S:hollywoodempire -C S:none -C S:show -C S:tinychat -C S:
Reply With Quote
  #4  
Old 10-31-2011, 02:17 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Problematic RTMP Server - Tinychat [[DYNAMIC]]?


yeah it's the custom AMF data that needs to be appended to connect packet.
Reply With Quote
  #5  
Old 10-31-2011, 02:31 AM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: Problematic RTMP Server - Tinychat [[DYNAMIC]]?


Quote:
Originally Posted by KSV View Post
yeah it's the custom AMF data that needs to be appended to connect packet.
Where to find them?
Reply With Quote
  #6  
Old 10-31-2011, 02:33 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Problematic RTMP Server - Tinychat [[DYNAMIC]]?


i have used wireshark.
Reply With Quote
  #7  
Old 10-31-2011, 11:13 AM
rtmpdumpuser rtmpdumpuser is offline
Junior Member
 
Join Date: Oct 2011
Posts: 2
rtmpdumpuser is on a distinguished road
Default

Re: Problematic RTMP Server - Tinychat [[DYNAMIC]]?


Thanks for the help, KSV. I tried appending AMF data earlier, but I was missing the null string.

Do you know what the proper syntax is for the NB:name:boolean, NS:name:string, and NN:name:number parameters?

I tried -C NS:name:value but rtmpdump says "ERROR: Invalid AMF parameter: NS:name:value"

I know it's not needed in this particular instance, but it may be needed in the future.

Also, out of curiosity, do you have any idea why [[DYNAMIC]] often appears in RTMP swfUrls?
Reply With Quote
  #8  
Old 10-31-2011, 01:03 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Problematic RTMP Server - Tinychat [[DYNAMIC]]?


Quote:
Originally Posted by rtmpdumpuser View Post
Do you know what the proper syntax is for the NB:name:boolean, NS:name:string, and NN:name:number parameters?

I tried -C NS:name:value but rtmpdump says "ERROR: Invalid AMF parameter: NS:name:value"

I know it's not needed in this particular instance, but it may be needed in the future.
rtmpdump only allows named variables inside an object. so you must put them inside AMF object. e.g.
Code:
-C O:1 -C NS:name:value -C O:0
Quote:
Originally Posted by rtmpdumpuser View Post
Also, out of curiosity, do you have any idea why [[DYNAMIC]] often appears in RTMP swfUrls?
not sure but AFAIK [[DYNAMIC]] and [[IMPORT]] are used to control which flex app can import or load that swf file. nothing a user should care about.
Reply With Quote
Reply Post New Thread
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:42 PM.


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