googlecodelabs / webrtc-web

Realtime communication with WebRTC
https://codelabs.developers.google.com/codelabs/webrtc-web/
Apache License 2.0
755 stars 351 forks source link

[DOC] To inspect the `localStream` object, type `localStream` instead of `stream` #128

Open yamasite opened 2 years ago

yamasite commented 2 years ago

Current doc

https://codelabs.developers.google.com/codelabs/webrtc-web#3

The localStream object passed to getUserMedia() is in global scope, so you can inspect it from the browser console: open the console, type

stream

and press Return. (To view the console in Chrome, press Ctrl-Shift-J, or Command-Option-J if you're on a Mac.)

Suggested doc

The localStream object passed to getUserMedia() is in global scope, so you can inspect it from the browser console: open the console, type

localStream

and press Return. (To view the console in Chrome, press Ctrl-Shift-J, or Command-Option-J if you're on a Mac.)

Rationale

image