Skip to content

Commit

Permalink
fix: set default video bit rate to 1 Mbps (#690)
Browse files Browse the repository at this point in the history
  • Loading branch information
thaddmt committed Jan 17, 2023
1 parent cf90f7f commit ba2642b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/helpers/liveness/video-recorder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class VideoRecorder {
this._stream = stream;
this._options = options;
this._chunks = [];
this._recorder = new MediaRecorder(stream);
this._recorder = new MediaRecorder(stream, { bitsPerSecond: 1000000 });

this._setupCallbacks();
}
Expand Down

0 comments on commit ba2642b

Please sign in to comment.