EventBus.
- Source:
Methods
(async, static) getCameraList(clientId) → {array}
Parameters:
| Name | Type | Description |
|---|---|---|
clientId |
string |
- Source:
Returns:
- list of available camera, each camera is an object of with id and name properties.
- Type
- array
(async, static) getCameraPreview(param0) → {data}
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
param0 |
object |
Properties
|
- Source:
Returns:
- Type
- data
(async, static) getClientStatusList() → {array}
- Source:
Returns:
- list of connected clients, each clinet is an object with id and type property
- Type
- array
(async, static) sendMessage(body)
Parameters:
| Name | Type | Description |
|---|---|---|
body |
string |
- Source:
Returns:
- http result.
(async, static) setRuntimeConfig(param0)
Parameters:
| Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param0 |
object |
Properties
|
- Source:
Returns:
- http result.
(async, static) startStream(param0)
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param0 |
object |
Properties
|
- Source:
Returns:
- http result
(async, static) stopStream(clientId)
Parameters:
| Name | Type | Description |
|---|---|---|
clientId |
string |
- Source:
Returns:
- http result