mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-25 22:46:15 -04:00
wip
This commit is contained in:
parent
b3949d8c41
commit
c88540488d
9 changed files with 78 additions and 77 deletions
|
@ -89,6 +89,7 @@ export function startRecordingGame(gameState: GameState) {
|
|||
const recordedChunks: Blob[] = [];
|
||||
|
||||
const instance = new MediaRecorder(captureStream, {
|
||||
// Required for less mushy result
|
||||
videoBitsPerSecond: 3500000,
|
||||
});
|
||||
mediaRecorder = instance;
|
||||
|
@ -136,7 +137,6 @@ export function startRecordingGame(gameState: GameState) {
|
|||
size: (blob.size / 1000000).toFixed(2),
|
||||
});
|
||||
targetDiv.appendChild(a);
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue