You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,21 +52,21 @@ videoCamera.track({
52
52
53
53
## Methods
54
54
55
-
There are some handy chainable methods that you can use to achieve your goal, for example:
55
+
There are some handy classes and chainable methods that you can use to achieve your goal, for example:
56
56
57
-
***tracking.VideoCamera()**
57
+
***new tracking.VideoCamera()**
58
58
59
59
Requests user's camera using WebRTC's `getUserMedia()`.
60
60
61
-
***tracking.VideoCamera().render()**
61
+
***new tracking.VideoCamera().render()**
62
62
63
-
Shows user's camera using a `<video>` element.
63
+
Render user's camera using a `<video>` element into the DOM.
64
64
65
-
***tracking.VideoCamera().hide()**
65
+
***new tracking.VideoCamera().hide()**
66
66
67
-
Don't shows user's camera.
67
+
Hides the `<video>` rendered into the DOM by `tracking.VideoCamera()`. In order to add information to the scene the `<canvas>` element could be displayed instead of the `<video>`.
0 commit comments