ååã¯ãçªå¤çã«Papervision3Dã§ã«ã¡ã©ãç«ä½çã«å転ããã¦ã¿ã¾ããããä»åãRed5ã¨ããããã¯Javaãªå 容ã§ãMySQLã¸ã®æ¥ç¶ãè¡ã£ã¦ã¿ããã¨æãã¾ãã FlashMediaServerã¯ç´æ¥ãã¼ã¿ãã¼ã¹(以éDB)ã«æ¥ç¶ãããããªãã¨ã¯ã§ããããµã¼ãã¼ãµã¤ãã®ã¹ã¯ãªãããä»ãã¦DBã®ãã¼ã¿ãåå¾ããå¿ è¦ãããã¾ããã ãµã¼ãã¼ãµã¤ãå´ã®ActionScriptãã³ã¼ã«ããã¯çã®å¦çã§ã³ã¼ããç ©éã«ãªãããµã¼ãã¼å´ã§ãã¹ã¯ãªããè¨èªãå¿ è¦ã«ãªãã®ã§ããã®ç¹ã§ã¯Red5ã®æ¹ã便å©ã§ãã ä»åã®ããã°ã©ã ã¯MySQL ãã¤ã³ã¹ãã¼ã«ããã¦ãããã¨ãåæã§ãããWindowsç°å¢ãªãã° XAMPP ã§æã£åãæ©ãã¤ã³ã¹ãã¼ã«ãããã¨ãå¯è½ã§ãã ã§ã¯ãMySQLãã¤ã³ã¹ãã¼ã«ããã¦ãããã®ã¨ãã¦ã解説ãç¶è¡ãã¾ãã Red5(ã¨ããããJava)ãããã¼ã¿ãã¼ã¹ã«æ¥ç¶ããã«ã¯J
Red5ãç¨ãã¦Webã«ã¡ã©ã®åç»ãä¿åãã¦ã¿ã¾ããã ãµã¼ãã¼ã«FLVã¨ãã¦ä¿åã§ããã®ã§ãffmpegãOpenCVã¨çµã¿åãããã¨é¢ç½ããã¨ãã§ããã¨æãã¾ãã åä½ã ã¼ãã¼ã¯ãã¡ã å·¦ã®æ åãã«ã¡ã©ãã£ããã£ã§å³ãä¿åããããã®ãã¹ããªã¼ãã³ã°ã§åçãã¦ãã¾ãã http://jp.youtube.com/watch?v=ns3rcoGUS10 ä½ææ¹æ³ã®ç°¡åãªèª¬æã§ãã ã¾ãã¯Red5ããã¦ã³ãã¼ãï¼ã¤ã³ã¹ãã¼ã«ãã¾ãã http://www.osflash.org/red5 Red5ãã¤ã³ã¹ãã¼ã«ãããã¨ã«ããFlashä¸ã®åç»ããµã¼ãã¼ã«FLVã¨ãã¦ä¿åãããã¨ãã§ããããã«ãªãã¾ãã Flexã®ã½ã¼ã¹ã¯ãã¡ãã å¥éãcom.renaun.samples.net.FMSConnection ãå¿ è¦ã§ãã FLVãã¡ã¤ã«ã¯ãC:\Program Files\Red5\weba
Flexã§RED5ã使ã£ã¦é³å£°ãä¿åãã¦ã¿ã¾ããã 大å¦ã®ç 究ã§ãé³å£°ã¯ã¨ãªã®ä½æãå¿ è¦ã¨ã®ãã¨ã§ãä»åRED5ãç¨ãã¦ä½æãã¾ããã ï¼ãµã¼ãã¼ãå¿ è¦ãªã®ã§ãµã³ãã«ã¯ãªãã§ã£ãã RED5 http://osflash.org/red5 追å ã¯ã©ã¹ï¼ import com.renaun.samples.net.FMSConnection ã®é¨åãï¼ http://renaun.com/flex2/red5/BasicChat.html ã½ã¼ã¹ãã¥ã¼ã§ãã¦ã³ãã¼ããã¦ãã ããã ç°¡åãªã½ã¼ã¹ã¯ãããªæããã¹ã¿ã¼ãã§é²é³éå§ã§ãã¹ãããã§é²é³åæ¢ï¼é²é³ããããã®ãåç 以ä¸ã®å ´åã ã¨é³å£°ãã¡ã¤ã«ã¯ãC:\Program Files\Red5\webapps\oflaDemo\streamsãã«ä¿åããã¾ãã <?xml version="1.0" encoding="utf-8"?> <mx
RED5ã§ã®æ°è¦ã¹ããªã¼ãã³ã°ãã©ã«ãã¼ä½æããã®2 ãã¦ãRed5ã§ã®æ°è¦ã¹ããªã¼ãã³ã°ãã©ã«ãã¼ã®ä½æã§ãããææãã¨è¨ãããããªæ°ããã¤ã¤ãæ¢åã®oflaDemoãã©ã«ãã¼ãå¥åã«å¤ãããã¨ã«ã¯æåãã¾ããã ä»åã¯æé ãããï½ã触ãã¾ãã¦ãè¿æ¥ä¸ã«æ£å¼çãæ¸ãã¾ãã ä½ã®ãã¨ã¯ãªãã c:\program files\red5\build.xml ã®ä¸èº«ã®ãoflaDemoãã®è¨è¿°ãããã¹ãã¨ãã£ã¿ã¼ã§ãstreamingãã«ä¸æ¬ç½®æ(streamingã¯æ¸ãæããããã©ã«ãã¼å)ã 次㫠c:\program files\red5\oflaDemo ã c:\program files\red5\streaming ã«å¤æ´ããoflaDemoå ã«ãããã¡ã¤ã«ã®è¨è¿°ãbuild.xmlã¨åæ§ã«ãoflaDemoããããstreamingãã«ç½®æãã¾ãã å¾ã¯ã³ãã³ãããã³ããã§ã
RED5ã§ã®æ°è¦ã¹ããªã¼ãã³ã°ãã©ã«ãã¼ä½æããã®1 ããæ¹ããRED5ã§ã®æ°è¦ã¹ããªã¼ãã³ã°ãã©ã«ãã¼ã®ä½ãæ¹ãå°ãããã¾ãã¦ã以åã«ããããããã°ãã¬ã¤ã«ã³ã³ãã¤ã«ã§ãããªãã¨èãä»ããã¾ã¾å®è·µãã¦ããªãã£ãã®ã§ãã¡ãã£ã¨ãã£ã¬ã³ã¸ä¸ã ã¨ãã£ã¦ãä»äºããã¾ãæã§ã¯ãªãã®ã§ãå°ããã¤ã調ã¹ãªããé²ãã¦ãã¾ãã Windowsã®ç°å¢ã§ããã°ããã«ãã®å®ç¾©ã¯ c:\program files\red5\build.xml å ã®è¨è¿°ãå¤æ´ããä¿®æ£ããã°ããã¯ããªã®ã§ããã®ãã¡ã¤ã«å ã調ã¹ã¦è¦ã¾ããããããããå¤æ´ç®æã5ï½6ç®æããããã£ã¦ãåå¾ã®æ§æã®æå³ããã£ããã¨èããªãã¨ããããã«ã¯ã¾ããã ããã¨æããã¡ãã£ã¨æ éã«é²è¡ä¸ã å¾ã¯ã c:\program files\red5\webapps\oflaDemo ã®å 容ã丸ãã¨ã³ãã¼ãã¦ããã¡ãã®ãã¡ã¤ã«å é¨ãæ¸ãæããå¿ è¦ãã
RED5ã®å¸¯åå¶å¾¡ã®æ°èª¬ ãï½ã¨ãRED5ã¨ä¸ç·ã«Adobe Flex2ã«ãæãåºãã¦ããã¾ãã¦ããããã§Javaã®éçºç°å¢ã«ãæ £ãã¦ãã¾ãããã¨ãã£ã¦ãããã®çã®å°éã®æ¹ããããã¨ã大ç¬ããããã¬ãã«ã§ããã»ã»ã»ããããã§ããç§ã¯ä¼ç»ãçæ¥ã¨ãã¦ãã¾ãã®ã§ãããã°ã©ãã³ã°ã¯è ¹è¸ã®ã²ã¨ã¤ã ï½ããæ å ±ã·ã¹ãã é¨éã«ãæå±ãããã¨ãªããã»ã»ã»ã ããã§ãèå¿ã®RED5ã®å¸¯åå¶éæ¹å¼ã§ããããµã³ãã«ã®oflaDemoãå ã«ããã¨ã次ã®æé ã§é²ãããã¨ãåºæ¥ã¾ãã ã¾ãã¯ã以åã®è¨äºãåèã«ãã¦ããã£ã¦ãRED5ã®æ¬¡ã®ãã¡ã¤ã«ãéãã¾ããWindowsã ã¨æ¬¡ã®æãã§ãããã¹ãé·ãï¼ c:\program files\red5\webapps\oflaDemo\WEB-INF\src\org\red5\server\webapp\oflaDemo\Application.java ããããã£ã¦ï½ã¨ã
ããã§ã¯ãããã¾ã§è§£èª¬ãããã¨ãå ã«ç°¡åãªåç»é ä¿¡æ©è½ä»ããã£ããã·ã¹ãã ãä½æãããã¨æãã¾ãã 第ä¸æ®µéã¨ãã¦ããã³ãã«ãã¼ã ãå ¥åãã¦ãµã¼ãã¼ã«ãã°ã¤ã³ããä»çµã¿ãä½æãã¾ããä»åæ°ãã«è¿½å ãããRed5å´ã®å¦çã¯ãåä¸ãã³ãã«ãã¼ã ã®ã¦ã¼ã¶ã¼ããã°ã¤ã³ãã¦ããããæ¥ç¶ãæ絶ããå¦çã§ãã ãµã³ãã«ã§åä½ãè¦ã¦ã¿ã Red5å´ã§æ¥ç¶ããã¦ã¼ã¶ã¼ãåæããå¦çã¯ã rejectClient("same_handle_name"); ã¨æ¸ãã¾ããå¼æ°ã¯åæããéã«ã¯ã©ã¤ã¢ã³ãã«æ¸¡ããã¨ã®ã§ããå¤ã§ããåæçç±ãªã©ã渡ãã®ããããªç¨éã«ãªãã¨æãã¾ãã FlashMediaServerã§ã application.rejectConnection(Client, reasonObject); ã®ããã«æ¥ç¶ã¯ã©ã¤ã¢ã³ããæå¦ããéã«ç¬¬2å¼æ°ã§å¤ã渡ããã®ã¨åæ§ã§ããã ãµã¼ãã¼å´ã®ã³ã¼ãã¯ä»¥
Javaã§ã®éçºã¯Eclipseã便å©ãªã®ã§ããã¼ã«ã«PCä¸ã§éçºâãµã¼ãã¼ã«ã¢ããã¨ããã¹ã¿ã¤ã«ã§ç´¹ä»ãã¦ããã¾ãã ã¾ãã¯ãæ°è¦ã§Javaããã¸ã§ã¯ããä½æãã¾ãã ããã¸ã§ã¯ãåã¯TestRed5(ä»»æ)ã¨ãã¦ããã¾ãã TestRed5ãã£ã¬ã¯ããªãä½æããã¾ãã®ã§ããã®ä¸ã«ãWEB-INFããã£ã¬ã¯ããªãä½æã ããã«ãã®WEB-INFã®ä¸ã«ãclassesããsrcããã©ã«ããä½æã ä¸ç»åã®ãããªæ§æã«ãã¾ãã 次ã«ããã±ã¼ã¸ï½¥ã¨ã¯ã¹ããã¼ã©ã¼(Eclipseããã©ã«ãã ã¨ç»é¢å·¦ã«ãã)ã®TestRed5ã®ããã¸ã§ã¯ããå³ã¯ãªãã¯ã ã¡ãã¥ã¼ä¸æ¹ã®ãããããã£(R)ããã¯ãªã㯠表示ãããé ç®ãããJavaã®ãã«ãã»ãã¹ããé¸æã½ã¼ã¹ï½¥ãã©ã«ãã¼ã¨ãã©ã¤ãã©ãªã¼ã®è¨å®ãè¡ãã¾ãã ä¸é¨ã¿ãã®ãã½ã¼ã¹(s)ããé¸æãå³å´ã®ãã¿ã³ãã½ã¼ã¹ãã©ã«ãã¼ã®è¿½å (A)ãããWEB-INF
See related links to what you are looking for.
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}