2013年6月25日

PeerConnection

摘要: Example(摘) 1 /*When two peers decide they are going to set up a connection to each other, they both go through these steps. The STUN/TURN server configuration describes a server they can use to get things like their public IP address or to set up NAT traversal. They also have to send data for the si 阅读全文
posted @ 2013-06-25 23:27 4.5.6 阅读(1114) 评论(0) 推荐(0)

getUserMedia

摘要: index.ejsgetUserMedia()方法有三个参数:1.约束对象2.成功回调函数,传入参数:LocalMediaStream3.失败回调函数,传入参数:error object 1 2 3 4 5 75 View Code 阅读全文
posted @ 2013-06-25 21:09 4.5.6 阅读(3018) 评论(0) 推荐(0)

快速创建node应用[Express框架]

摘要: 安装Expressnpm install -g express建立工程express -e ejs FaceExpresscd FaceExpress && npm install运行node app.js 阅读全文
posted @ 2013-06-25 21:01 4.5.6 阅读(245) 评论(0) 推荐(0)

创建空node项目[Express]

摘要: 安装Expressnpm install -g express建立工程express -e ejs FaceExpresscd FaceExpress && npm install运行node app.js 阅读全文
posted @ 2013-06-25 20:59 4.5.6 阅读(294) 评论(0) 推荐(0)