function createAutoDeviceInfo(kind) {
    return {
        facing: null,
        label: 'Auto',
        kind: kind,
        deviceId: '',
        groupId: ''
    };
}
/**
 * Create stub device which equals to auto selected device.
 * @param {string} kind if that should be `audio` or `video` device
 * @returns {Object} stub device description in `enumerateDevices` format
 */
Create stub device which equals to auto selected device.
Create stub device which equals to auto selected device .
function createAutoDeviceInfo(kind) {
    return {
        facing: null,
        label: 'Auto',
        kind: kind,
        deviceId: '',
        groupId: ''
    };
}
function createAutoDeviceInfo ( kind ) { return { facing : null , label : 'Auto' , kind : kind , deviceId : '' , groupId : '' } ; }
Create stub device which equals to auto selected device.
Create stub device which equals to auto selected device .