Skip to content

Commit

Permalink
bitrate
Browse files Browse the repository at this point in the history
  • Loading branch information
cmayeux05 committed Oct 23, 2024
1 parent 782e102 commit 701c0ee
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/ScreenRecorderWithChunks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const ScreenRecorderWithChunks = () => {
const newStream = await navigator.mediaDevices.getDisplayMedia({ video: true });
setStream(newStream);

const recorder = new MediaRecorder(newStream);
const recorder = new MediaRecorder(newStream, {videoBitsPerSecond:2000});
recorder.ondataavailable = (event) => {
if (event.data.size > 0) {
setRecordingChunks((prevChunks) => [...prevChunks, event.data]);
Expand Down
2 changes: 1 addition & 1 deletion server/config/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = ({ env }) => ({
username: env('DATABASE_USERNAME', 'postgres'),
password: env('DATABASE_PASSWORD', 'postgres'),
schema: 'public',
ssl: { rejectUnauthorized: false}
ssl: {rejectUnauthorized: false}
},
options: {
'pool': {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"x-generation-date": "10/22/2024 9:01:50 PM"
"x-generation-date": "10/23/2024 10:40:54 PM"
},
"x-strapi-config": {
"path": "/documentation",
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 701c0ee

Please sign in to comment.