Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

How to install rtmpsuck in Windows XP/7?

(http://stream-recorder.com/forum/showthread.php?t=5460)

slopsbox 01-19-2010 01:25 PM

How to install rtmpsuck in Windows XP/7?


 
I'm confused about how to install and use rtmpsuck in Windows XP and also Windows 7. Would someone please post instructions?

Stream Recorder 01-20-2010 02:00 AM

Re: How to install rtmpsuck in Windows XP/7?


 
From rtmpdump readme:
Quote:

All you need to do is redirect your Flash clients to the machine running this server and it will dump out all the connect / play parameters that the Flash client sent. The simplest way to cause the redirect is by editing /etc/hosts when you know the hostname of the RTMP server, and point it to localhost while running rtmpsrv on your machine. (This approach should work on any OS; on Windows you would edit %SystemRoot%\system32\drivers\etc\hosts)
First of all you need to know the host of the RTMP streaming server. Copy it and open %SystemRoot%\system32\drivers\etc\hosts with a text editor like Windows Notepad. Point the RTMP server to localhost (you can see some examples commented by # in the hosts file) . Don't forget to run rtmpsuck

noob2001204 01-20-2010 06:24 AM

Re: How to install rtmpsuck in Windows XP/7?


 
Quote:

Originally Posted by Stream Recorder (Post 15566)
From rtmpdump readme:

First of all you need to know the host of the RTMP streaming server. Copy it and open %SystemRoot%\system32\drivers\etc\hosts with a text editor like Windows Notepad. Point the RTMP server to localhost (you can see some examples commented by # in the hosts file) . Don't forget to run rtmpsuck

There's a bug in redirecting the hostname of RTMP server to localhost,it will stop at some point
And if the hostname is an ip address,this method cannot work because HOSTS file can only map hostname to ip address(127.0.0.1)

Any solution?

hyc 01-21-2010 02:21 AM

Re: How to install rtmpsuck in Windows XP/7?


 
The hosts file trick is, in general, an inadequate hack. Also I only gave that as an example for rtmpsrv. It cannot be used with rtmpsuck. (If the tcUrl in the connection request uses the same hostname, it will simply get into a loop trying to connect to itself.)

You need customizable filter/firewall software to perform a transparent redirect. I'm not aware of any freeware for Windows that does this. I have some code I wrote several years ago that will work on WindowsXP but from what I've read, it will not work on Windows7 because the network driver stack has changed. I haven't actively coded for Windows in several years and I'm not really interested in looking any further into it. Use an OS that doesn't suck.

Stavr0 04-05-2010 12:30 PM

Re: How to install rtmpsuck in Windows XP/7?


 
Quote:

Originally Posted by hyc (Post 15613)
The hosts file trick is, in general, an inadequate hack. Also I only gave that as an example for rtmpsrv. It cannot be used with rtmpsuck. (If the tcUrl in the connection request uses the same hostname, it will simply get into a loop trying to connect to itself.)

You need customizable filter/firewall software to perform a transparent redirect. I'm not aware of any freeware for Windows that does this. I have some code I wrote several years ago that will work on WindowsXP but from what I've read, it will not work on Windows7 because the network driver stack has changed. I haven't actively coded for Windows in several years and I'm not really interested in looking any further into it. Use an OS that doesn't suck.

Another trick is to use another PC (or a guest VM) and redirect the hostname back to the first pc where RTMPSUCK is running.


All times are GMT -6. The time now is 11:49 AM.