[rtmpdump] rtmpsuck

marco tommasoni marco.tommasoni at gmail.com
Tue Apr 12 22:52:34 CEST 2011

I  encode from a pc with Adobe Media Encoder to a server with Adobe
Media Server. And this configuration works well.
The actual configuration is:
1) computer A (es: - gw point to computer B
with FMS url: rtmp://COMPUTER_B_WAN_IP/live and StreamName
2) computer B (es: with Adobe Media Server

But now I need to encode from Adobe Media Encoder (computer A) to a pc
(computer P) and then redirect the rtmp flow to the Adobe Media Server
(computer B). Those 3 computers have different lan configurations. If
I use rtmpsuck on computer P, can I use it like proxy to redirect the
computer A rtmp flow to computer B?
I suppose:
1) computer A (es: - gw point to computer P
with FMS url: rtmp://COMPUTER_P_WAN_IP/live and StreamName
2) on computer P (es: - gw I install
rtmpsuck, I open port 1935 on his firewall and I configure iptables
like: iptables -t nat -A PREROUTING -p tcp --dport 1935 -j DNAT
--to-destination COMPUTER_B_WAN_IP:1935
3) on computer B I do nothing.

Now I have 2 questions:
1- Can it works?
2- On computer P (the proxy) I must install rtmpsuck and rtmpsrv or I
can install only rtmpsuck? I don't need to record the stream

Thankyou for all and sorry for my bad english!

More information about the rtmpdump mailing list