fix: add webcam rotation to new mjpegstreamer method

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej committed 2021-11-26 23:32:12 +01:00
1 parent 1779cca828
commit d4b1be9fcc
1 file changed
+1 -2
+1 -2
View File
@@ -16,7 +16,7 @@
<template>
<div v-observe-visibility="visibilityChanged" style="position: relative;">
<img ref="image" class="webcamImage" />
<img ref="image" class="webcamImage" :style="webcamStyle" />
<span class="webcamFpsOutput">{{ $t('Panels.WebcamPanel.FPS')}}: {{ fpsOutput }}</span>
</div>
</template>
@@ -32,7 +32,6 @@ const TYPE_JPEG = 'image/jpeg'
@Component
export default class Mjpegstreamer extends Mixins(BaseMixin) {
private isVisible = true
private imageRatio = 0
private currentFPS = 0
private timerFPS: number | null = null
private timerRestart: number | null = null