WebRTCã¨ã¯
ãWebRTCã¨ã¯ããããªãé³å£°ããã¼ã¿ããã©ã¦ã¶éã§ããåãå¯è½ã«ããè¦æ ¼ã§ãï¼RTCã¯ãReal-Time Communicationãã®ç¥ï¼ãWebRTCã®æ©è½ãå©ç¨ãããã¨ã§ãWebãµã¤ãä¸ã§ãããªã»é³å£°ãã£ããããã¡ã¤ã«ãããåãã§ãã¾ãã
ãå ·ä½ä¾ãè¦ã¦ã¿ã¾ãããããappear.inãã¯ãWebRTCãå©ç¨ãã¦éçºãããWebã¢ããªã±ã¼ã·ã§ã³ã§ãåããã£ããã«ã¼ã ã«å ¥ã£ã人å士ã§ãããªã»é³å£°ãã£ãããã§ãã¾ãï¼ãã£ããã«ã¼ã ã¯URLãã¼ã¹ã§åãããã¾ãï¼ãã¢ã«ã¦ã³ãç»é²ããã°ã¤ã³ãããªãã¦ã使ãã¾ããããChromeãFirefoxãOperaã®ããããã®Webãã©ã¦ã¶ã§ã¢ã¯ã»ã¹ãã¦ã¿ã¦ãã ããã
ãWebRTCã使ãã°ããã®ãããªãªã¢ã«ã¿ã¤ã ã³ãã¥ãã±ã¼ã·ã§ã³ãè¡ãWebã¢ããªã±ã¼ã·ã§ã³ãä½ããã¨ãã§ããã®ã§ãã
WebRTCã®éä¿¡å½¢æ
ãWebRTCã®ç¹å¾´ã®1ã¤ã¯ãéä¿¡ãP2Pæ¹å¼ã§è¡ãç¹ã§ããé常ã®Webãµã¤ãã§ã¯ããã©ã¦ã¶ã¨ãµã¼ãã®éã§éä¿¡ãè¡ãã¾ããã¾ããWebRTCã¨ããæ¯è¼ãããè¦æ ¼ã«ãWebSocketããããã¾ãããWebSocketã§ã¯å¿ ãWebãã©ã¦ã¶ã¨ãµã¼ãéã§éä¿¡ãè¡ããã¨ã«ãªã£ã¦ãã¾ãããã£ãããªã©ãã¦ã¼ã¶å士ã§ãã¼ã¿ãããåããè¡ãã®ã«ä½¿ããããã¨ãããã¾ããããã®å ´åãå¿ ããµã¼ããä»ãã¦éä¿¡ãã¾ãã
ãä¸æ¹ãWebRTCã¯ãµã¼ããä»ãããP2Pã«ããã¦ã¼ã¶éã§ç´æ¥éä¿¡ãè¡ããããã¬ã¹ãã³ã¹æ§ãããé«ãéä¿¡ãå®ç¾ã§ãã¾ããã¾ããä¸ä½å±¤ã®ãããã³ã«ã«ï¼TCPã§ãªãï¼UDPã使ã£ã¦ãããã¨ãããå質ããããªã¢ã«ã¿ã¤ã æ§ãéè¦ããéä¿¡æ¹å¼ã¨ãããã§ãããã
APIä»æ§æ¸
ãWebRTCã®APIã¯ã次ã®2ã¤ã®ä»æ§ã¨ãã¦çå®ããã¦ãã¾ãã
- WebRTC 1.0: Real-time Communication Between Browsers
- Media Capture and Streams
ãWebRTC 1.0: Real-time Communication Between Browsersã¯ãP2Pã§ãã©ã¦ã¶éãæ¥ç¶ããããã®JavaScript APIä»æ§ã§ããä»æ§ã¯W3Cã®ãµã¤ãã§å ¬éããã¦ãã¾ããWebRTCã®APIã®ä»æ§çå®ã¯W3Cããéä¿¡ãããã³ã«ã®ä»æ§çå®ã¯IETFãè¡ã£ã¦ããã®ã§ãããã©ã¡ããã¾ã çå®éä¸ã®æ®µéã§ãã
ãMedia Capture and Streamsã¯ãPCã«æè¼ããã¦ããã«ã¡ã©ããUSBæ¥ç¶ã®ã«ã¡ã©ã»ãã¤ã¯ã®ã¹ããªã¼ã ãåå¾ããããã®ä»æ§ã§ããä»æ§ã¯W3Cã®ãµã¤ãã§å ¬éããã¦ãã¾ãããã¡ããã¾ã ä»æ§çå®ä¸ã§ãã
ãã©ã¦ã¶ã®å¯¾å¿ç¶æ³
ããã ããWebRTCã®APIãå®è£ ããã¦ããªããã©ã¦ã¶ãããã¾ããæ¬ç¨¿å·çæç¹ï¼2014å¹´10æ7æ¥ï¼ã§å®è£ ããã¦ãããã©ã¦ã¶ã¯æ¬¡ã®3ã¤ã®ã¿ã§ãã
- Chrome
- Firefox
- Opera
ãSafariãInternet Exprolerã¯ã¾ã 使ç¨ãããã¨ã¯ã§ãããã¹ãã¼ããã©ã³ãã¿ãã¬ããã§WebRTCã使ç¨ããã«ã¯ãAndroidã®Chromeã使ãããããã¾ããã
ãããã¯ãPCçã®Chromeã¨ã¯ç°ãªããiOSã®Chromeã§ä½¿ç¨ããã¦ããã¨ã³ã¸ã³ã«ã¯iOSã¢ããªåãã«æä¾ããã¦ããSafariã®ã¨ã³ã¸ã³ã使ããã¦ããããã§ããAppleããã®æ©è½ãæä¾ãã¦ããªãç¾å¨ãiOSã®Chromeã§WebRTCã使ç¨ãããã¨ã¯ã§ãã¾ããã
ãã¾ããChromeã§åããããã°ã©ã ãFirefoxãOperaã§åãã¨ãéãããã¾ã ãã©ã¦ã¶éã§ã®å¯¾å¿ç¶æ³ã¯å·®ãããã¨ããã®ãç¾ç¶ã§ãã
ãã¨ã¯ãããçã ã¨WebRTCã使ã£ãWebã¢ããªã±ã¼ã·ã§ã³ã¯å¢ãç¶ãã¦ãã¾ãã ãã²ãªã¢ã«ã¿ã¤ã ã³ãã¥ãã±ã¼ã·ã§ã³ãç¨ããWebã¢ããªéçºã«ãã©ã¤ãã¦ã¿ã¾ãããã