1

我写了这段代码:

getVideoDevices() { 
    return new Promise((resolve, reject) => { 
           ConnectyCube.videochat.getMediaDevices('videoinput').then(devices => { 
           devices ? resolve(devices) : reject(); 
          }); 
    });
 }

但我在控制台中有这个错误:

TypeError: undefined is not an object (evaluating 'b.enumerateDevices')

相机和麦克风设置等所有权限

4

0 回答 0