Fix HLS JS error on latest iOS

This commit is contained in:
Alex X
2023-10-14 11:40:49 +03:00
parent bfae16f3a0
commit f949a278da
+1 -1
View File
@@ -601,7 +601,7 @@ export class VideoRTC extends HTMLElement {
this.play();
};
this.send({type: 'hls', value: this.codecs(this.video.canPlayType)});
this.send({type: 'hls', value: this.codecs(type => this.video.canPlayType(type))});
}
onmp4() {