diff --git a/src/TethrWebcam.ts b/src/TethrWebcam.ts index 48c0e8c..a0b1829 100644 --- a/src/TethrWebcam.ts +++ b/src/TethrWebcam.ts @@ -237,7 +237,7 @@ export class TethrWebcam extends Tethr { this.#liveviewEnabled = true this.emit('liveviewStreamUpdate', this.#media) - this.emit('liveviewEnabledChanged', createReadonlyConfigDesc(true)) + this.emit('liveviewEnabledChange', createReadonlyConfigDesc(true)) return { status: 'ok', value: this.#media, @@ -247,7 +247,7 @@ export class TethrWebcam extends Tethr { async stopLiveview(): Promise { this.#liveviewEnabled = false this.emit('liveviewStreamUpdate', null) - this.emit('liveviewEnabledChanged', createReadonlyConfigDesc(false)) + this.emit('liveviewEnabledChange', createReadonlyConfigDesc(false)) return {status: 'ok'} } }