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 02-02-2013, 05:41 PM
Elgero Elgero is offline
Senior Member
 
Join Date: Feb 2012
Posts: 177
Elgero is on a distinguished road
Default

save client data with rtmpsuck


Does anybody know if it's possible to let rtmpsuck save the data sent by the client?

Code:
C0+C1

C2+Connect request

additional data sent by the client
Reply With Quote
  #2  
Old 02-03-2013, 01:28 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: save client data with rtmpsuck


Do you mean the data sent with connect request or whole communication?
Reply With Quote
  #3  
Old 02-03-2013, 03:33 AM
Elgero Elgero is offline
Senior Member
 
Join Date: Feb 2012
Posts: 177
Elgero is on a distinguished road
Default

Re: save client data with rtmpsuck


I mean the whole communication. Exact copy (bytes) of what the client sends to the server and also the rtmp url.

Some websites have implemented their own "protocol". They send additional data that the client needs to respond to first or they won't send the stream. For these websites you need to use rtmpsuck. I'm doing some experiments and it seems that when you create a new connection and send the exact same bytes to the server (mimicking the data exchange), then you can trick some servers into sending the stream. This way I might be able to write a tool that can save multiple streams without having to keep a browser tab open for each stream.
Reply With Quote
  #4  
Old 02-03-2013, 05:09 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: save client data with rtmpsuck


why not use the -z switch and redirect output to file.

Code:
rtmpsuck -z 2> Debug.txt
and then filter out lines with DEBUG2: to reduce noise in the dump.
Reply With Quote
  #5  
Old 02-03-2013, 02:37 PM
Elgero Elgero is offline
Senior Member
 
Join Date: Feb 2012
Posts: 177
Elgero is on a distinguished road
Default

Re: save client data with rtmpsuck


That works fine. Thank you.


::edit::

One more question. Is there a way to make rtmpsuck save the actual stream with a different filename if it already exists (appending '(1)' or '- 1'), instead of overwriting the existing file?
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 09:47 PM.


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