mirror of
https://github.com/davedoesdev/streamana.git
synced 2025-11-03 03:03:17 +08:00
Put correct codec back, update TODO
This commit is contained in:
@@ -274,7 +274,6 @@ async function start() {
|
|||||||
canvas_el.style.height = canvas_el_parent.parentNode.offsetWidth / ar_canvas;
|
canvas_el.style.height = canvas_el_parent.parentNode.offsetWidth / ar_canvas;
|
||||||
}
|
}
|
||||||
// TODO:
|
// TODO:
|
||||||
// still if click stop too soon get error
|
|
||||||
// windows, android, iOS, find a mac to test
|
// windows, android, iOS, find a mac to test
|
||||||
// check behaviour when rotate phone
|
// check behaviour when rotate phone
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ export class HLS extends EventTarget {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
// first try WebM/H264 MediaRecorder - this should work on Chrome Linux and Windows
|
// 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");
|
console.log("Using MediaRecorder WebM/h264");
|
||||||
} catch (ex) {
|
} catch (ex) {
|
||||||
console.warn(ex);
|
console.warn(ex);
|
||||||
|
|||||||
Reference in New Issue
Block a user