mirror of
https://github.com/davedoesdev/streamana.git
synced 2024-08-20 23:27:41 +08:00
Put correct codec back, update TODO
This commit is contained in:
parent
810e489570
commit
e2bb8761d2
@ -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
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user