SimpleWebRTC 是否具有此功能来获取数据(视频/音频)而无需允许浏览器使用我的相机/麦克风?
// create our webrtc connection
var webrtc = new SimpleWebRTC({
// the id/element dom element that will hold "our" video
localVideoEl: 'localVideo',
// the id/element dom element that will hold remote videos
remoteVideosEl: '',
// immediately ask for camera access
**autoRequestMedia: true,**
debug: true,
detectSpeakingEvents: true,
autoAdjustMic: false,
media: {
video: false,
**audio: true**
},
});
当我将那些被星号包围的部分更改为 true 时,它会起作用,否则不会。