Hi,<br><br>Yes. One thing I am thinking is assign 2 different IPs to the same machine and use port 80 for nginx + rtmpt.<br><br>Will this work?<br><br>Thanks,<br>Rakesh.<br><br><br><div><span class="gmail_quote">On 6/2/08, <b class="gmail_sendername">Rajesh Dharmalingam</b> &lt;<a href="mailto:rajesh.dharmalingam@gmail.com">rajesh.dharmalingam@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
is nginx in the same machine where red5 is running?<div><span class="e" id="q_11a4a174ba7b1b6e_1"><br><br><div class="gmail_quote">On Mon, Jun 2, 2008 at 6:24 PM, just starting &lt;<a href="mailto:just.starting@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">just.starting@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex"> Hi,<br>
<br>We use rtmpt just in case our firewall doesn&#39;t allow rtmp port/protocol. If there is protocol restriction then rtmpt will just work fine in any port. But if there is port restriction we need to put rtmpt at port 80(there is rarely any restriction on port 80). But then what will be http port for red5. We need to put access that too, right?<br>
<br>Thanks,<br>Rakesh.<div><div><br><br><div class="gmail_quote">On Mon, Jun 2, 2008 at 5:26 PM, Rajesh Dharmalingam &lt;<a href="mailto:rajesh.dharmalingam@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rajesh.dharmalingam@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex"> i don&#39;t get your point. In rtmpt url of client, you provide nginx url and nginx takes care of the proxy to red5&#39;s rtmpt.. <br>
<div><div><br><div class="gmail_quote">On Mon, Jun 2, 2008 at 5:11 PM, just starting &lt;<a href="mailto:just.starting@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">just.starting@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex">Ok, let me try this.<br>
<br>But then the purpose of changing rtmpt port to 80 is defeated. I mean to which port should we bind red5 http server.<br><br>Thanks,<br>Paritosh.<div><div><br><br><div class="gmail_quote">On Mon, Jun 2, 2008 at 4:59 PM, Rajesh Dharmalingam &lt;<a href="mailto:rajesh.dharmalingam@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rajesh.dharmalingam@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex"><br><div class="gmail_quote">
<div><blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex">    nginx config sample:<br>
location / {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp; html;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_pass <a href="http://127.0.0.1:8080" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://127.0.0.1:8080</a>;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; index&nbsp; index.html index.htm;<div>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</div></blockquote></div><div><br>you have to remove this. or else, by default all requests will goto this including rtmpt request.<br>&nbsp;</div><div><div><blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex">
<div><br><br></div>Thanks,<br>Rakesh.<div><div><br><br><div class="gmail_quote">On Mon, Jun 2, 2008 at 4:36 PM, Rajesh Dharmalingam &lt;<a href="mailto:rajesh.dharmalingam@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rajesh.dharmalingam@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex"><br><div class="gmail_quote">
<div><blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex">      Default nginx configuration is anything on port 80 move it to port 8080. after the default location &quot;/&quot; setup i have added &quot;/open/&quot;, &quot;/idle/&quot;, &quot;/close/&quot; and &quot;/send/&quot;.<br>
</blockquote></div><div><br>is your rtmpt of red5 configured to 8080?? <br><br></div><div><div><blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex">
<div><div><br><div class="gmail_quote">On Mon, Jun 2, 2008 at 2:51 PM, Rajesh Dharmalingam &lt;<a href="mailto:rajesh.dharmalingam@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rajesh.dharmalingam@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex">        Hi,<br>
<br>You are proxying to rtmpt port using nginx. So, the rtmpt port should only 8088 in red5 and not 80. In the web application where you are trying to connect to red5, there you should provide 80 instead of 8088.<br><br>Basically, the request from your web applicaiton should come to nginx and nginx will do the proxy to red5&#39;s rtmpt.<br>
<br>Hope this is clear.<div><div><br><br><br><div class="gmail_quote"> On Mon, Jun 2, 2008 at 2:32 PM, just starting &lt;<a href="mailto:just.starting@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">just.starting@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex">Hi,<br><br>
What value should I put for rtmpt port in the config file of the red5 application.<br><br>FYI I am trying the openmeetings application.<br><br>I have nginx on 80 and default rtmpt port on 8088. Now in the config file what should I put as rtmpt port, 80 or 8088.<br>
<br>Thanks,<br>Rakesh.<div><div><br><br><div class="gmail_quote">On Sun, Jun 1, 2008 at 1:47 AM, Rajesh Dharmalingam &lt;<a href="mailto:rajesh.dharmalingam@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rajesh.dharmalingam@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex"> i have replied to the same thread that the configuration provided over there is sufficient and works. <br>
<div><div><br><div class="gmail_quote">On Sun, Jun 1, 2008 at 1:44 AM, Rajesh Dharmalingam &lt;<a href="mailto:rajesh.dharmalingam@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rajesh.dharmalingam@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex">Hi,<br><br>
I do not have a link to refer you. i also tried but could not find any documentation for the proxy. But in general rtmpt is http over rtmp. The rtmpt packets that are posted to red5 will have one of the 4 patterns in the url. i.e. open or close or idle or send. <br>
<div><div><br><div class="gmail_quote">On Sun, Jun 1, 2008 at 1:13 AM, just starting &lt;<a href="mailto:just.starting@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">just.starting@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex">            Thanks Rajesh for the quick reply. <br>
<br>I searched the net quite a bit for the solution to my question and come up with the link : <a href="http://marc.info/?l=nginx&amp;m=121180411000488&amp;w=2" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://marc.info/?l=nginx&amp;m=121180411000488&amp;w=2</a><br>
<br>Can you please explain this:<br><ol><li>/open/, /close/, /send/,/idle/ are the server path used in rtmpt queries to the rtmpt server. I mean are the paths generic.</li><li>Will these paths cover all rtmpt queries. Any pointer or link will be must helpful.</li>
</ol>Thanks<br>Rakesh.<div><div><br><br><div class="gmail_quote">On Sat, May 31, 2008 at 8:40 PM, Rajesh Dharmalingam &lt;<a href="mailto:rajesh.dharmalingam@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rajesh.dharmalingam@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex"> Yes it is possible. &nbsp;&nbsp;&nbsp;  <br>
<br>&nbsp;&nbsp; location /open/ {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_pass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://127.0.0.1:8088/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://127.0.0.1:8088</a>;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_redirect&nbsp;&nbsp;&nbsp;&nbsp; off;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_set_header&nbsp;&nbsp; X-Forwarded-For&nbsp;&nbsp; $proxy_add_x_forwarded_for;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client_max_body_size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10m;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client_body_buffer_size&nbsp;&nbsp;&nbsp; 128k;<br><br>               &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_connect_timeout&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 90;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_send_timeout&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 90;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_read_timeout&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 90;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_buffer_size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4k;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_buffers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4 32k;<br>               &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_busy_buffers_size&nbsp;&nbsp;&nbsp; 64k;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_temp_file_write_size 64k;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; conf/fastcgi_params;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>Similar to this is for /close/ , /idle/ , /send/.<br><br><br>Add this and it will work.<div><div><br>
<br><div class="gmail_quote">On Sat, May 31, 2008 at 7:52 PM, just starting &lt;<a href="mailto:just.starting@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">just.starting@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex"> hi,<br>
<br>Is it possible to run red5 rtmpt via proxy of nginx?<br><br>I know that the protocols are different, but still, is there any workaround available?<br><br>Thanks,<br>Rakesh.<br></blockquote></div><br><br clear="all"><br>
</div></div><font color="#888888">-- <br>Regards,<br>-Rajesh<br><br>&quot;Stick to our roots and not to forget where we come from&quot; </font></blockquote></div><br></div></div></blockquote></div><br><br clear="all"><br>
-- <br>Regards,<br>-Rajesh<br><br>&quot;Stick to our roots and not to forget where we come from&quot; </div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>-Rajesh<br><br>&quot;Stick to our roots and not to forget where we come from&quot; </div>
</div></blockquote></div><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>-Rajesh<br><br>&quot;Stick to our roots and not to forget where we come from&quot; </div></div></blockquote></div><br>
</div></div></blockquote></div></div></div><div><div><br><br clear="all"><br>-- <br>Regards,<br>-Rajesh<br><br>&quot;Stick to our roots and not to forget where we come from&quot; </div></div></blockquote></div><br></div></div>
</blockquote></div></div></div><div><div><br><br clear="all"><br>-- <br>Regards,<br>-Rajesh<br><br>&quot;Stick to our roots and not to forget where we come from&quot; </div></div></blockquote></div><br></div></div></blockquote>
</div><br><br clear="all"><br>-- <br>Regards,<br>-Rajesh<br><br>&quot;Stick to our roots and not to forget where we come from&quot; </div></div></blockquote></div><br></div></div></blockquote></div><br><br clear="all"><br>
-- <br>Regards,<br>-Rajesh<br><br>&quot;Stick to our roots and not to forget where we come from&quot; </span></div></blockquote></div><br>