CloudHub Docs
Download Documents

RTC


Other frequently asked questions

Why can’t I get the device ID on the Chrome 81 browser?

on the Chrome 81 browser call getDevices, the deviceId is null.

Note: You may also encounter this problem on Safari and Firefox.

The cause of the problem

For the sake of protecting user privacy, starting from Chrome 81, if the browser does not have the permission to use the media device, it will not be able to obtain the device ID information.

Solution

The SDK has been automatically processed internally. Authorization may be required when requesting the device list. Please allow authorization. If you refuse, the device Id of the obtained device list will be empty.