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 07-30-2012, 07:20 PM
Quintana Quintana is offline
Junior Member
 
Join Date: Jul 2012
Posts: 2
Quintana is on a distinguished road
Default

Change rtmpsuck port?


Hi, I'm on Linux and I need to change the port rtmpsuck runs on; the server I'm trying to sniff uses a port other than 1935 and I don't know how to do it. I tried with:

Code:
iptables -t nat -A OUTPUT -p tcp --dport 190 -j REDIRECT --to-port 1935
But that didn't end up well... rtmpsuck was caught in an endless loop. I was told on IRC that there was a patch that allowed to change the port, but I don't know where's it.

Looking forward for your answers... thanks!
Reply With Quote
  #2  
Old 07-30-2012, 11:12 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Change rtmpsuck port?


github.com/svnpenn/rtmpdump/commit/1b39

Quote:
RtmpSuck, support other ports

If you have environment variable set RTMPPORT, it will use it; otherwise default
to 1935. Something like "export RTMPPORT=19350" should work in Bash.
Reply With Quote
  #3  
Old 07-31-2012, 08:06 AM
Quintana Quintana is offline
Junior Member
 
Join Date: Jul 2012
Posts: 2
Quintana is on a distinguished road
Default

Re: Change rtmpsuck port?


Exactly what I needed. Thanks.
Reply With Quote
  #4  
Old 08-01-2012, 06:36 AM
compn compn is offline
Stream recording expert
 
Join Date: Sep 2006
Posts: 128
compn has a spectacular aura aboutcompn has a spectacular aura aboutcompn has a spectacular aura about
Default

Re: Change rtmpsuck port?


hah, tried to help you on irc, but i could not find the commit. thanks svnpenn.
Reply With Quote
  #5  
Old 08-01-2012, 11:09 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Change rtmpsuck port?


Quote:
Originally Posted by compn View Post
hah, tried to help you on irc, but i could not find the commit. thanks svnpenn.
The "commit" people were looking for was for RtmpSrv. I duplicated it for RtmpSuck after reading this thread. I am going to try to make it a command line switch.
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 10:22 AM.


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