Apply suggestions from code review of branch bugfix/streamContent_leaks
Co-authored-by: Beth Probert <beth_probert@outlook.com>
This commit is contained in:
parent
6f9531059c
commit
70567feb0b
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ export default {
|
|||
return this.ready && !this.disableStream;
|
||||
},
|
||||
streamImgUri: function () {
|
||||
// FIX: Require BOTH visibility AND the enabled state
|
||||
// Require BOTH visibility AND the enabled state
|
||||
if (this.isVisible && this.streamEnabled) {
|
||||
const url = new URL(`${this.baseUri}/camera/mjpeg_stream`);
|
||||
url.searchParams.append("debugId", this.streamId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue