Put correct codec back, update TODO

This commit is contained in:
David Halls 2021-07-30 08:07:22 +01:00
parent 810e489570
commit e2bb8761d2
2 changed files with 1 additions and 2 deletions

View File

@ -274,7 +274,6 @@ async function start() {
canvas_el.style.height = canvas_el_parent.parentNode.offsetWidth / ar_canvas;
}
// TODO:
// still if click stop too soon get error
// windows, android, iOS, find a mac to test
// check behaviour when rotate phone
}

View File

@ -48,7 +48,7 @@ export class HLS extends EventTarget {
try {
// first try WebM/H264 MediaRecorder - this should work on Chrome Linux and Windows
await this.media_recorder('video/webm;codecs=H265');
await this.media_recorder('video/webm;codecs=H264');
console.log("Using MediaRecorder WebM/h264");
} catch (ex) {
console.warn(ex);