Skip to content

Commit

Permalink
fix: WebRTC (camera-streamer) port settings with external mainsail in…
Browse files Browse the repository at this point in the history
…stance

Signed-off-by: Stefan Dej <[email protected]>
  • Loading branch information
meteyou committed Oct 7, 2023
1 parent cd1b9b8 commit 77dcf82
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/webcams/WebrtcCameraStreamer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export default class WebrtcCameraStreamer extends Mixins(BaseMixin, WebcamMixin)
get url() {
const baseUrl = this.camSettings.stream_url
let url = new URL(baseUrl, this.printerUrl === null ? this.hostUrl.toString() : this.printerUrl)
url.port = this.hostPort.toString()
if (baseUrl.startsWith('http') || baseUrl.startsWith('://')) url = new URL(baseUrl)
Expand Down

0 comments on commit 77dcf82

Please sign in to comment.