# CameraPanorama

Camera panorama

## Constructor

#### new CameraPanorama(constraints)

Source:
  - panorama/CameraPanorama.js, line 11

See MediaStreamConstraints for constraints

##### Parameters:

Name | Type | Description
--- | --- | ---
`constraints` | object | camera constraints

### Methods

#### onPanolensContainer(event)

Source:
  - panorama/CameraPanorama.js, line 39

On container event

##### Parameters:

Name | Type | Description
--- | --- | ---
`event` | object |

#### onPanolensScene(event)

Source:
  - panorama/CameraPanorama.js, line 51

On scene event

##### Parameters:

Name | Type | Description
--- | --- | ---
`event` | object |

#### start() → {Promise}

Source:
  - panorama/CameraPanorama.js, line 63

Start camera streaming

##### Returns:

Type
  Promise

#### stop()

Source:
  - panorama/CameraPanorama.js, line 74

Stop camera streaming