Skip to content

Commit 95062de

Browse files
Update cameraOpenTimeout default value and code snippet to reflect new timeout duration
1 parent f13088a commit 95062de

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

programming/javascript/api-reference/camera-control.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ This property sets a limit on how long the `CameraEnhancer` will attempt to open
6969

7070
> NOTE
7171
>
72-
> - The default value is 4000 ms.
72+
> - The default value is 10000 ms.
7373
> - Setting 0 means canceling the timeout or waiting indefinitely.
7474
7575
```typescript
@@ -79,8 +79,8 @@ cameraOpenTimeout: number;
7979
**Code Snippet**
8080

8181
```javascript
82-
// Set the timeout to 10 seconds.
83-
cameraEnhancer.cameraOpenTimeout = 10000;
82+
// Set the timeout to 5 seconds.
83+
cameraEnhancer.cameraOpenTimeout = 5000;
8484
```
8585

8686
## close

0 commit comments

Comments
 (0)