SimpleWebRTC.js -
MIT
跨平台
JavaScript
软件简介
SimpleWebRTC.js 封装了 WebRTC 技术的 JavaScript ,帮你简化 WebRTC 应用开发。
示例代码:
var webrtc = new WebRTC({
// the id/element dom element that will hold "our" video
localVideoEl: 'localVideo',
// the id/element dom element that will hold remote videos
remoteVideosEl: 'remotesVideos',
// immediately ask for camera access
autoRequestMedia: true
});