Cocomoで簡単ビデオ、チャット、ラクガキボード
Cocomoで簡単ビデオ、チャット、ラクガキボードをやってみました。
サンプルはこちら。
http://moeten.info/flex/20081122_cocomoTest2/bin-release/webCamera.html
解放しておきますので、遊んでみてください(^−^)
ブラウザ二つ立ち上げてみると動くのが分かって面白いと思います。
ソースはこちら
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:rtc="CocomoNameSpace" viewSourceURL="srcview/index.html"> <rtc:AdobeHSAuthenticator id="auth" userName="名無しの権兵衛"/> <rtc:ConnectSessionContainer authenticator="{auth}" roomURL="http://connectnow.acrobat.com/komugi/testMyRoom"> <mx:Panel width="866" height="587" title="web cam" layout="absolute"> <rtc:WebCamera width="348" height="294" x="10" y="10"/> <rtc:AudioPublisher id="audioPub"/> <rtc:AudioSubscriber/> <rtc:SimpleChat width="342" height="225" x="10" y="312"/> <rtc:SharedWhiteBoard width="476" height="527" x="360" y="10"/> </mx:Panel> </rtc:ConnectSessionContainer> </mx:Application>