<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Updating NCManager order of Connection Attempts</title>
	<atom:link href="http://blog.rubyamf.org/2008/01/30/updating-ncmanager-order-of-connection-attempts/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rubyamf.org/2008/01/30/updating-ncmanager-order-of-connection-attempts/</link>
	<description>Ruby AMF - Flash Remoting for Ruby on Rails</description>
	<lastBuildDate>Tue, 25 Aug 2009 12:14:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: aaron</title>
		<link>http://blog.rubyamf.org/2008/01/30/updating-ncmanager-order-of-connection-attempts/comment-page-1/#comment-209</link>
		<dc:creator>aaron</dc:creator>
		<pubDate>Thu, 31 Jan 2008 19:45:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rubyamf.org/?p=106#comment-209</guid>
		<description>@David,

Yeah I see your point. I guess I&#039;ll be a little bit smarter about it. If the users&#039; bandwidth is medium or low, default to 1935,443,80, etc. But if they&#039;re on a high speed connection, use rtmpt because it will always go through. Really what I&#039;m trying to accomplish is getting a connection as soon as possible to the stream. Which I think happens altering the order this way. And I guess overall it&#039;s not something that&#039;s &quot;critical&quot;, but I&#039;d rather know that port 80 is always open, and should connect the first attempt.

Do you have any insights into how much less efficient it is?

Thanks man.</description>
		<content:encoded><![CDATA[<p>@David,</p>
<p>Yeah I see your point. I guess I&#8217;ll be a little bit smarter about it. If the users&#8217; bandwidth is medium or low, default to 1935,443,80, etc. But if they&#8217;re on a high speed connection, use rtmpt because it will always go through. Really what I&#8217;m trying to accomplish is getting a connection as soon as possible to the stream. Which I think happens altering the order this way. And I guess overall it&#8217;s not something that&#8217;s &#8220;critical&#8221;, but I&#8217;d rather know that port 80 is always open, and should connect the first attempt.</p>
<p>Do you have any insights into how much less efficient it is?</p>
<p>Thanks man.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aaron</title>
		<link>http://blog.rubyamf.org/2008/01/30/updating-ncmanager-order-of-connection-attempts/comment-page-1/#comment-210</link>
		<dc:creator>aaron</dc:creator>
		<pubDate>Thu, 31 Jan 2008 19:33:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rubyamf.org/?p=106#comment-210</guid>
		<description>@carnageBlood,

hey no worries. I&#039;ll reply to your post on the mailing list later today.

-A</description>
		<content:encoded><![CDATA[<p>@carnageBlood,</p>
<p>hey no worries. I&#8217;ll reply to your post on the mailing list later today.</p>
<p>-A</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David B.</title>
		<link>http://blog.rubyamf.org/2008/01/30/updating-ncmanager-order-of-connection-attempts/comment-page-1/#comment-212</link>
		<dc:creator>David B.</dc:creator>
		<pubDate>Thu, 31 Jan 2008 14:21:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rubyamf.org/?p=106#comment-212</guid>
		<description>I would suggest using RTMPT only has a fallback method since RTMP is more efficient than RTMPT.

In fact, the default order is pretty logic in my sense. It first attempts an RTMP connection on port 1935. This makes sense since port 1935 is the default port assigned to FMS and since RTMP is more efficient than RTMPT.

Second, an attempt is made on port 443 in case port 1935 is blocked. This will sometimes happen in companies (though this is less and less frequent all the time). So an RTMP conenction that can&#039;t go through port 1935 might go through port 443 if RTMP traffic is allowed on that port. And that port is open for sure.

Then, if all else fails, we fallback on port 80 (which we know is open) using RTMPT streaming. This is less efficient than RTMP but, when used that way, will almost always go through unless there is a packet sniffer that detects that this is in fact RTMP packets wrapped inside regular HTTP packets. This will almost never happen. To do this, a network administrator means he REALLY WANTS to block all RTMP traffic on his network.

Just my 2 cents...</description>
		<content:encoded><![CDATA[<p>I would suggest using RTMPT only has a fallback method since RTMP is more efficient than RTMPT.</p>
<p>In fact, the default order is pretty logic in my sense. It first attempts an RTMP connection on port 1935. This makes sense since port 1935 is the default port assigned to FMS and since RTMP is more efficient than RTMPT.</p>
<p>Second, an attempt is made on port 443 in case port 1935 is blocked. This will sometimes happen in companies (though this is less and less frequent all the time). So an RTMP conenction that can&#8217;t go through port 1935 might go through port 443 if RTMP traffic is allowed on that port. And that port is open for sure.</p>
<p>Then, if all else fails, we fallback on port 80 (which we know is open) using RTMPT streaming. This is less efficient than RTMP but, when used that way, will almost always go through unless there is a packet sniffer that detects that this is in fact RTMP packets wrapped inside regular HTTP packets. This will almost never happen. To do this, a network administrator means he REALLY WANTS to block all RTMP traffic on his network.</p>
<p>Just my 2 cents&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CarnageBlood</title>
		<link>http://blog.rubyamf.org/2008/01/30/updating-ncmanager-order-of-connection-attempts/comment-page-1/#comment-211</link>
		<dc:creator>CarnageBlood</dc:creator>
		<pubDate>Thu, 31 Jan 2008 13:40:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rubyamf.org/?p=106#comment-211</guid>
		<description>Sorry to bother you but where can I find a tutorial or some documentation about ClassMaping and ValueObject in RubyAMF RAils. In a controller PeopleController  i have :  format.amf { render :amf =&gt; @people }  where @people = Person.find(:all).
In my Flash app the ResultEvent returns a Object type and i can&#039;t get the data i need.
I know i have to edit the rubyamf_config.rb but dunno how.
I need some documentation or tut to get started as I am noob both in Rails and RubyAMF.
Please help and again sorry for disturbing!</description>
		<content:encoded><![CDATA[<p>Sorry to bother you but where can I find a tutorial or some documentation about ClassMaping and ValueObject in RubyAMF RAils. In a controller PeopleController  i have :  format.amf { render :amf =&gt; @people }  where @people = Person.find(:all).<br />
In my Flash app the ResultEvent returns a Object type and i can&#8217;t get the data i need.<br />
I know i have to edit the rubyamf_config.rb but dunno how.<br />
I need some documentation or tut to get started as I am noob both in Rails and RubyAMF.<br />
Please help and again sorry for disturbing!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
