SimpleWebRTC.js简化 WebRTC 应用开发
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 });
评论