Skip to content

Commit

Permalink
Fix incorrect 4:3 preset bitrates (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzhao authored Jun 17, 2023
1 parent 2844648 commit c02fad6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/src/types/video_parameters.dart
Original file line number Diff line number Diff line change
Expand Up @@ -227,23 +227,23 @@ extension VideoParametersPresets on VideoParameters {
static const h720_43 = VideoParameters(
dimensions: VideoDimensionsPresets.h720_43,
encoding: VideoEncoding(
maxBitrate: 1 * 500 * 1000,
maxBitrate: 1500 * 1000,
maxFramerate: 30,
),
);

static const h1080_43 = VideoParameters(
dimensions: VideoDimensionsPresets.h1080_43,
encoding: VideoEncoding(
maxBitrate: 2 * 500 * 1000,
maxBitrate: 2500 * 1000,
maxFramerate: 30,
),
);

static const h1440_43 = VideoParameters(
dimensions: VideoDimensionsPresets.h1440_43,
encoding: VideoEncoding(
maxBitrate: 3 * 500 * 1000,
maxBitrate: 3500 * 1000,
maxFramerate: 30,
),
);
Expand Down Expand Up @@ -276,7 +276,7 @@ extension VideoParametersPresets on VideoParameters {
static const screenShareH1080FPS15 = VideoParameters(
dimensions: VideoDimensionsPresets.h1080_169,
encoding: VideoEncoding(
maxBitrate: 1 * 500 * 1000,
maxBitrate: 1500 * 1000,
maxFramerate: 15,
),
);
Expand Down

0 comments on commit c02fad6

Please sign in to comment.