# Class: VideoDevice

## Constructor

#### new VideoDevice(deviceId, groupId, label)

  VideoDevice class contains the information on the available video device.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `deviceId` | string |
  `groupId` | string |
  `label` | string |

## Methods

#### getDeviceId() → {string}

  Returns the ID of the the video device that is used by the user.
  That is persisted across sessions. It is reset when the user clears cookies.

  ##### Returns:

  { string }

#### getGroupId() → {string}

  Returns the ID of the group.
  Two devices have the same group identifier if they belong to the same
  physical device; for example a monitor with both a built-in camera and microphone.

  ##### Returns:

  { string }

#### getLabel() → {string}

  Returns the label (name) of the video device that is used by the user.

  ##### Returns:

  { string }

#### toString() → {string}

  Returns formatted object string

  ##### Returns:

  { string }