Load device selections from localStorage.
The localStorage key to read from
The saved device selections, or an empty object if none found
const savedDevices = loadDevices('my-devices');// { videoInput: 'camera-id', audioInput: 'mic-id' } Copy
const savedDevices = loadDevices('my-devices');// { videoInput: 'camera-id', audioInput: 'mic-id' }
Load device selections from localStorage.