== Red5Install/DemoInstaller == * 2011.4.20 * eclipse ´Â ´çºÐ°£ Àش´Ù. * root/demo ´Â ¾î¶»°Ô ¼öÇàµÇ³ª? * installer ¿Í oflademo ´Â ¿Ö webapp ¹Ø¿¡ ¼³Ä¡µÇ¾î¾ß Çϳª? * ´Ù¿î·Îµå red5-0.9.1.tar.gz * http://wiki.red5.org/wiki/0_9_1 * cd /usr/share/red5/webapps * cp -Rf /home/tcheun/Download/red5-0.9.1/webapps/installer . * http://localhost:5080/installer * http://red5.electroteque.org/dev/doc/html/BuildingRed5.html * svn co http://red5.googlecode.com/svn/java/server/trunk/ red5.svn * http://red5.electroteque.org/dev/doc/html/Red5DemoApplications.html * mkdir red5_demo * cd red5_demo * svn co http://red5.googlecode.com/svn/java/example/trunk/ java * svn co http://red5.googlecode.com/svn/flash/trunk/ flash * /usr/share/red5/webapps/root/index.html {{{#!vim
  • Install a ready-made application
  • ^M
  • Launch a demo
  • ^M ^M }}} * FLEX ÀÇ source * flash/installer/src * FLEX ¿¡ ÀÇÇØ webapps/installer/index.html °ú installer.swf °¡ »ý¼ºµÇÁö ¾Ê¾ÒÀ»±î? * webapps/installer {{{#!vim tcheun@enk:~/red5-0.9.1/webapps/installer$ ls AC_OETags.js history installer.swf WEB-INF index.html playerProductInstall.swf }}} * WEB-INF * red5-web.properties {{{#!vim webapp.contextPath=/installer^M webapp.virtualHosts=localhost, localhost:5080^M ^M # Used by the installer to locate the available wars^M application.repository.url=http://red5.googlecode.com/svn/snapshots/ }}} * * red5-web.xml {{{#!vim ^M ^M ^M ^M }}} * * web.xml {{{#!vim ^M index.html^M ^M }}} * index.html * Flex ¿¡ ÀÇÇØ »ý¼ºµÈ html ÀÎ µíÇÔ. * script AC_OETags.js * flash player version detection * function define * function ControlVersion() * function GetSwfVer() * function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision) * function AC_AddExtension(src, ext) * function AC_Generateobj(objAttrs, params, embedAttrs) * function AC_FL_RunContent() * function AC_GetArgs(args, ext, srcParamName, classid, mimeType) * À§ÀÇ function À» »ç¿ëÇÏ´Â ºÎºÐÀº comment 󸮵Ǿî ÀÖÀ½ * script history/history.js * °øºÎ°¡ ÇÊ¿äÇÔ * flex ¿¡¼­ ÇÊ¿ä·Î ÇÏ´Â °Í * install.swf ¸¦ ´Ù¿î·Îµå to client ÀÇ flash player * /home/tcheun/Download/red5_demo/flash/installer/src * Item.as ProgressWindow.mxml assets functions.as installer.mxml * installer.mxml * click="install()" * functions.as * nc=new NetConnection(); * nc.connect('rtmp://' + hostString + '/installer', null); * public function install(): {{{#!vim public function install():void {^M if (selectedFilename != null) {^M ^M // pop up the dialog^M ^M progressWindow=PopUpManager.createPopUp(DisplayObject(Application.application), ProgressWindow, true);^M PopUpManager.centerPopUp(progressWindow)^M ProgressWindow(progressWindow).selectedFilename=selectedFilename^M ^M // request actual installation^M ^M nc.call("installer.install", null, selectedFilename);^M }^M }^M }}} * /home/tcheun/Download/red5.svn/src/org/red5/server/service * Installer.java * public boolean install(String applicationWarName) === publisher === * 2011.4.22 * red5demo/flash/publisher/main.xml {{{#!vim xmlns:control="org.red5.samples.publisher.control.*" xmlns:business="org.red5.samples.publisher.business.*" xmlns:view="org.red5.samples.publisher.view.*" paddingLeft="10" paddingRight="10" paddingBottom="10" paddingTop="10" }}} * * org/red5/samples/publisher/business/Services.mxml * * org/red5/samples/publisher/control/DashboardController.as * * red5/samples/publisher/view/Publisher.mxml * red5demo/flash/classes/org/red5/samples/publisher * edit Downloads/red5-example/red5-client/flex.properties === red5 server service === * http://dl.fancycode.com/red5/api/ === demos === * red5-examples * LocalApp admin dump loadtest oflaDemo * RemoteApp build.xml echo messageRecorder test * SOSample bwcheck fitcDemo midiDemo tutorial * not in installer * LocalApp * RemoteApp * admin * test * tutorial * not in red5-example * audiotranscoder * videotranscoder * oflaDemo * midiDemo * echo * dump * bwcheck * fitcDemo * messageRecorder * SOSample * loadtest * audiotranscoder * videotranscoder === Flex projext === * Flex ¸¦ ÀÌ¿ëÇÏ¿© client ¶ó´Â project ¸¦ »ý¼ºÇϸé bin-debug µð·ºÅ丮¿¡ ´ÙÀ½ÀÇ ÆÄÀϵéÀÌ »ý¼ºµÈ´Ù. * history µð·ºÅ丮 * history.css * history.js * historyFrame.html * AC_OETags.js * client.html * client.swf * playerProductInstall.swf