Nginx red5 rtmpt proxy

Hi,

Had anyone tried making red5 rtmpt to run via proxy of nginx?

I am trying the following but it does not work.

     location /open/ {
        proxy_pass         http://127.0.0.1:8088;
        proxy_redirect     off;
        proxy_set_header   X-Forwarded-For 

$proxy_add_x_forwarded_for;

        client_max_body_size       10m;
        client_body_buffer_size    128k;

        proxy_connect_timeout      90;
        proxy_send_timeout         90;
        proxy_read_timeout         90;

        proxy_buffer_size          4k;
        proxy_buffers              4 32k;
        proxy_busy_buffers_size    64k;
        proxy_temp_file_write_size 64k;

        include         conf/fastcgi_params;
    }

Similar to this is for /close/ , /idle/ , /send/. Could any one please
let
me know if this is fine or if i shd change to make rtmpt proxy work with
nginx


Regards,
-Rajesh

“Stick to our roots and not to forget where we come from”

hehe. No way will that work. RTMP and HTTP are protocols. Completely
incompatible. nginx is a HTTP server and proxy and does not speak RTMP.

Sergej

On Mon, May 26, 2008 at 2:04 PM, Rajesh Dharmalingam <

Oh sorry, didn’t notice the T at the end. RTMPT also will not work.
nginx
does not stream the response to the client but caches it.

Sergej

On Mon, May 26, 2008 at 2:04 PM, Rajesh Dharmalingam <

On Mon, May 26, 2008 at 03:14:19PM +0200, Rapsey wrote:

Oh sorry, didn’t notice the T at the end. RTMPT also will not work. nginx
does not stream the response to the client but caches it.

You may stream using

proxy_buffering   off;

However, I do know whether rtmpt will work.

Hi Guys,

The configuration i have provided is sufficient for running rtmpt as
proxy
from nginx. Thanks for all the support.

On Mon, May 26, 2008 at 7:38 PM, Rajesh Dharmalingam <
[email protected]> wrote:

However, I do know whether rtmpt will work.
Regards,
-Rajesh

“Stick to our roots and not to forget where we come from”


Regards,
-Rajesh

“Stick to our roots and not to forget where we come from”

Hi,

Thanks for the quick reponse. I have tried with buffering off. Still am
not
able to get.

So, if i need to do a POST, what changes should i make?

On Mon, May 26, 2008 at 6:47 PM, Igor S. [email protected] wrote:


Igor S.
Igor Sysoev


Regards,
-Rajesh

“Stick to our roots and not to forget where we come from”