[rtmpdump] rtmpsuck

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


ciao,
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: 192.168.1.5 - gw 192.168.1.254) point to computer B
with FMS url: rtmp://COMPUTER_B_WAN_IP/live and StreamName
test?user=useruser&password=userpassword
2) computer B (es: 210.22.11.134) 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: 192.168.1.5 - gw 192.168.1.254) point to computer P
with FMS url: rtmp://COMPUTER_P_WAN_IP/live and StreamName
test?user=useruser&password=userpassword
2) on computer P (es: 10.10.10.8 - gw 10.10.10.254) 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!
Marco


More information about the rtmpdump mailing list