<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Blog Posts From Ignite Realtime Blog Tagged With pep</title>
    <link>http://community.igniterealtime.org/blogs/ignite</link>
    <description>Ignite Realtime Blog</description>
    <pubDate>Mon, 08 Dec 2008 20:56:28 GMT</pubDate>
    <generator>Jive SBS 4.5.5.2  (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2008-12-08T20:56:28Z</dc:date>
    <item>
      <title>Develop your own Plugins for Red5 SparkWeb</title>
      <link>http://community.igniterealtime.org/blogs/ignite/2008/12/08/develop-your-own-plugins-for-red5-sparkweb</link>
      <description>&lt;!-- [DocumentBodyStart:bcf780c4-3b70-4011-bf11-babdf01f89e4] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;After Gato made this suggestion in my &lt;a class="" href="http://community.igniterealtime.org/blogs/fastpath-added-to-sparkweb-with-red5-video-and-desktop-sharing"&gt;last blog&lt;/a&gt;, I decided to move this request to the top of my to-do list as I also need it for another project I am currently working on.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;a href="http://red5.4ng.net/gtms/user_tune.jpg"&gt;&lt;img alt="http://red5.4ng.net/gtms/user_tune.jpg" class="jive-image" src="http://red5.4ng.net/gtms/user_tune.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;em&gt;How does it work?&lt;/em&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I am using the &lt;a class="jive-link-external-small" href="http://www.adobe.com/devnet/flex/samples/dashboard/dashboard.html"&gt;Flex Dashboard&lt;/a&gt; developed by &lt;a class="jive-link-external-small" href="http://www.esria.com"&gt;ESRIA&lt;/a&gt; which was donated to the Adobe Developer Connection. Plugins are presented in a pod layout called a View. Each View occupies a Tab in the SparkWeb ChatWindow. You can modify Views by dragging and dropping pods to a different location and minimizing, maximizing, and restoring pod windows. View changes are saved using a LocalSharedObject. View configuration data is loaded from sparkweb/plugins/plugins.xml with values in plugins.xml indicating which swf file to load for a particular pod within each View.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: Courier New;"&gt;&lt;a href="http://red5.4ng.net/gtms/plugins.jpg"&gt;&lt;img alt="http://red5.4ng.net/gtms/plugins.jpg" class="jive-image" src="http://red5.4ng.net/gtms/plugins.jpg"/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&lt;span style="font-family: Courier New;"&gt;&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;lt;views&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;lt;view id="view0" label="Plugin Demo"&amp;gt;&lt;br/&gt;&amp;#160; &amp;lt;pod id="app01" title="User Moods" dataSource="plugins/moods.swf" /&amp;gt;&lt;br/&gt;&amp;#160; &amp;lt;pod id="app02" title="User Tunes" dataSource="plugins/usertunes.swf" /&amp;gt;&lt;br/&gt;&amp;#160; &amp;lt;pod id="app03" title="Demo" dataSource="plugins/demo.swf" /&amp;gt;&lt;br/&gt;&amp;lt;/view&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;lt;/views&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;SparkWeb will load each pod SWF file and call the method setParentApplication passing it the SparkWeb root Application object. From this object, you can navigate your way to access all other SparkWeb public objects and even add eventhandlers on events like NewMessage for example.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;To get a feel of what can be done, I decided to implement the User Tunes and Moods PEP (personal eventing protocol) applications. See &lt;a class="jive-link-external-small" href="http://caustiq.esoteriq.org/nb/archives/2007/08/#e2007-08-19T21_56_08.txt"&gt;Armando Jagucki's blog&lt;/a&gt; for more details about PEP in Openfire. The source code to the demo plugins is in the src/plugins folder.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;span&gt;For those interested, the latest version of Red5 Plugin for Openfire can be found at _&lt;/span&gt;&lt;a class="jive-link-external-small" href="http://red5.4ng.net/red5-0.1.06.zip" target="_blank"&gt;http://red5.4ng.net/red5-0.1.06.zip&lt;/a&gt;&lt;span&gt;. Remove comments in plugins.xml to activate the demo.&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:bcf780c4-3b70-4011-bf11-babdf01f89e4] --&gt;</description>
      <category domain="http://community.igniterealtime.org/blogs/ignite/tags">flex</category>
      <category domain="http://community.igniterealtime.org/blogs/ignite/tags">plugin</category>
      <category domain="http://community.igniterealtime.org/blogs/ignite/tags">sparkweb</category>
      <category domain="http://community.igniterealtime.org/blogs/ignite/tags">red5</category>
      <category domain="http://community.igniterealtime.org/blogs/ignite/tags">pep</category>
      <pubDate>Mon, 08 Dec 2008 22:21:28 GMT</pubDate>
      <author>communityadmin@igniterealtime.org</author>
      <guid>http://community.igniterealtime.org/blogs/ignite/2008/12/08/develop-your-own-plugins-for-red5-sparkweb</guid>
      <dc:date>2008-12-08T22:21:28Z</dc:date>
      <clearspace:dateToText>3 years, 2 months ago</clearspace:dateToText>
      <clearspace:replyCount>16</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
      <wfw:comment>http://community.igniterealtime.org/blogs/ignite/comment/develop-your-own-plugins-for-red5-sparkweb</wfw:comment>
      <wfw:commentRss>http://community.igniterealtime.org/blogs/ignite/feeds/comments?blogPost=1576</wfw:commentRss>
    </item>
  </channel>
</rss>


