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

Rtmpsuck proxy between Adobe Flash Media Live Encoder and Adobe Media Server

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

thestreamer 04-13-2011 02:53 PM

Rtmpsuck proxy between Adobe Flash Media Live Encoder and Adobe Media Server


 
ciao,
I encode from a pc with Adobe Flash Media Live 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 Flash Media Live Encoder (computer A) to a pc (computer P) and then redirect the rtmp stream 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 necessary need to record the stream

Thankyou for all and sorry for my bad english!
M.


All times are GMT -6. The time now is 01:55 AM.