ui_migration chore(suggestions) co-authored by @julianstirling change debugId to streamId on mejpeg_stream URI
This commit is contained in:
parent
70567feb0b
commit
69a7e54ddd
2 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ export default {
|
|||
// 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);
|
||||
url.searchParams.append("streamId", this.streamId);
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ export default {
|
|||
// Only request the real stream if it's enabled AND currently visible on screen
|
||||
if (this.isVisible && this.streamEnabled) {
|
||||
const url = new URL(`${this.baseUri}/camera/mjpeg_stream`);
|
||||
url.searchParams.append("debugId", this.streamId);
|
||||
url.searchParams.append("streamId", this.streamId);
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue