Skip to content

Commit

Permalink
fix: fix WebRTC (camera-streamer) port with external instance (#1586)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteyou authored Oct 7, 2023
1 parent cd1b9b8 commit a3e74aa
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 a3e74aa

Please sign in to comment.