Skip to content

Commit 27df90f

Browse files
authored
fixed stop method docs
1 parent dae2627 commit 27df90f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -667,14 +667,14 @@ phone.unable(function(details){
667667
```
668668

669669
### WebRTC Stop Camera and Mic
670-
##### `phone.stop()`
670+
##### `phone.camera.stop()`
671671

672672
> You may want to Stop the Camera/Mic recording.
673673
By default the camera and mic are turned on as soon as possible.
674674
This allows for faster calling connection speeds.
675675

676676
```javascript
677-
var streamref = phone.stop();
677+
var streamref = phone.camera.stop();
678678
```
679679

680680
### WebRTC Phone Debugging

0 commit comments

Comments
 (0)