not gonna fix it but okay

This commit is contained in:
legop3
2025-11-29 22:17:49 -05:00
parent a343c5d1e2
commit e6e6327165
3 changed files with 6 additions and 4 deletions
+4 -2
View File
@@ -47,8 +47,10 @@ export class WhepPlayer {
if (!this.video) return;
this.video.playsInline = true;
this.video.autoplay = true;
this.video.muted = true;
this.video.disableRemotePlayback = true;
this.video.muted = this.audioOnly ? false : true;
if (typeof this.video.disableRemotePlayback !== 'undefined') {
this.video.disableRemotePlayback = true;
}
if ('latencyHint' in HTMLMediaElement.prototype) {
this.video.latencyHint = 'interactive';
}