code: function getMediaDeviceInfos(devices) {
  	debug('getMediaDeviceInfos() | [devices:%o]', devices);
  
  	var id,
  		mediaDeviceInfos = [];
  
  	for (id in devices) {
  		if (devices.hasOwnProperty(id)) {
  			mediaDeviceInfos.push(new MediaDeviceInfo(devices[id]));
  		}
  	}
  
  	return mediaDeviceInfos;
  }
docs: Private API.