SimpleWebRTC.js簡化 WebRTC 應用開發(fā)
SimpleWebRTC.js 封裝了 WebRTC 技術的 JavaScript ,幫你簡化 WebRTC 應用開發(fā)。
示例代碼:
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
});
評論
圖片
表情
