Implement auto_mute .

This commit is contained in:
Dermot Duffy
2022-05-08 08:05:33 -07:00
parent 66588ee1c6
commit d552cf1a0d
9 changed files with 71 additions and 15 deletions
+2 -2
View File
@@ -63,14 +63,14 @@ customElements.whenDefined('ha-camera-stream').then(() => {
* Mute the video.
*/
public mute(): void {
this.muted = true;
this._playerRef.value?.mute();
}
/**
* Unmute the video.
*/
public unmute(): void {
this.muted = false;
this._playerRef.value?.unmute();
}
/**